<!--

function tmt_DivAlign(theDiv,h,v,hPx,vPx){
	var obj,fun,dw,dh,lw,lh,x,y;
	fun = (document.getElementById) ? "document.getElementById" : "MM_findObj";
	obj = (document.getElementById) ? document.getElementById(theDiv) : MM_findObj(theDiv);
	if(obj){if(document.all){
	dw = document.body.clientWidth;dh = document.body.clientHeight;}
	else{dw = innerWidth;dh = innerHeight;}
	if(document.layers){lw = obj.clip.width;lh = obj.clip.height;}else{
	lw = obj.style.width.replace("px","");lh = obj.style.height.replace("px","");}
	x = (document.layers) ? ".left" : ".style.left";
	y = (document.layers) ? ".top" : ".style.top";
	if(h == "l"){eval(fun+"('"+theDiv+"')"+x+"="+hPx);}
	if(h == "c"){eval(fun+"('"+theDiv+"')"+x+"="+dw+"/2-"+lw+"/2");}
	if(h == "r"){eval(fun+"('"+theDiv+"')"+x+"="+dw+"-"+lw+"-"+hPx);}
	if(v == "t"){eval(fun+"('"+theDiv+"')"+y+"="+vPx);}
	if(v == "m"){eval(fun+"('"+theDiv+"')"+y+"="+dh+"/2-"+lh+"/2");}
	if(v == "b"){eval(fun+"('"+theDiv+"')"+y+"="+dh+"-"+lh+"-"+vPx);}}
}

function P7AniMagic(el, x, y, a, b, c, s) { //v2.1 PVII
 var elo=el,f="",m=false,d="";
 x=parseInt(x);y=parseInt(y);
 if (parseInt(s)>0) {
  setTimeout("P7AniMagic(\""+elo+"\",\""+x+"\",\""+y+"\",\""+a+"\",\""+b+"\",\""+c+"\",\""+0+"\")", s);
	return;
 }
 if (el.indexOf("?")>0) {p=el.split("?");f="parent.frames['"+p[1]+"'].";el=p[0];}
 if (document.all) {g=eval(f+"document.all['"+el+"']");d=g.style;
 	if(!d.left) {d.left=(!g.currentStyle)?0:g.currentStyle.left;}
  if(!d.top) {d.top=(!g.currentStyle)?0:g.currentStyle.top;}
 }
 else if (document.getElementById) {g=eval(f+"document.getElementById('"+el+"')");d=g.style;
  if(!d.left) {d.left=(!document.defaultView)?0:document.defaultView.getComputedStyle(g,"").getPropertyValue("left");}
	if(!d.top) {d.top=(!document.defaultView)?0:document.defaultView.getComputedStyle(g,"").getPropertyValue("top");}
 }
 else {d=eval(MM_findObj(elo));
 }
 var xx=(parseInt(d.left))?parseInt(d.left):0;
 var yy=(parseInt(d.top))?parseInt(d.top):0;
 if(c==1) {x+=xx;y+=yy;m=true;c="0";}
 else if (c==2) {m=false;clearTimeout(d.p7Magic);}
 else {var i=parseInt(a);
  if (eval(d.moved)){clearTimeout(d.p7Magic);}
  if (xx<x){xx+=i;m=true;if(xx>x){xx=x;}}
  if (xx>x){xx-=i;m=true;if(xx<x){xx=x;}}
  if (yy<y){yy+=i;m=true;if(yy>y){yy=y;}}
  if (yy>y){yy-=i;m=true;if(yy<y){yy=y;}}
 }
 if (m) {d.left=xx;d.top=yy;d.moved=true;
  d.p7Magic=setTimeout("P7AniMagic(\""+elo+"\",\""+x+"\",\""+y+"\",\""+a+"\",\""+b+"\",\""+c+"\",\""+0+"\")", b);
  }
 else {d.moved=false;}
}


function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i="0";!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i="0";!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function openPictureWindow(imageType,imageName,imageWidth,imageHeight,alt,posLeft,posTop) {  // v4.01
	newWindow = window.open("","newWindow","width="+imageWidth+",height="+imageHeight+",scrollbars=no,left="+posLeft+",top="+posTop);
	newWindow.document.open();
	newWindow.document.write('<html><title>'+alt+'</title><body bgcolor="#FFFFFF" leftmargin="0"  topmargin="0"  marginheight="0"  marginwidth="0"  onBlur="self.close()">'); 
	if (imageType == "swf"){
	newWindow.document.write('<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0\" width=\"'+imageWidth+'\" height=\"'+imageHeight+'\">');
	newWindow.document.write('<param name=movie value=\"'+imageName+'\"><param name=quality value=high>');
	newWindow.document.write('<embed src=\"'+imageName+'\" quality=high pluginspage=\"http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash\" type=\"application/x-shockwave-flash\" width=\"'+imageWidth+'\" height=\"'+imageHeight+'\">');
	newWindow.document.write('</embed></object>');	}else{
	newWindow.document.write('<img src=\"'+imageName+'\" width='+imageWidth+' height='+imageHeight+' alt=\"'+alt+'\">'); 	}
	newWindow.document.write('</body></html>');
	newWindow.document.close();
	newWindow.focus();
}
//-->
if (!document.getElementById) {
window.location ="ups.html";
}

