var __ns4 = (document.layers)? true:false;
var __ns6 = (!document.all && document.getElementById)? true:false;
var __ie4 = (document.all)? true:false;
var sAgent = navigator.userAgent.toLowerCase();
var __focused78900305=true;
var _pre_focused78900305=window.onfocus;
var _pre_unfocused78900305=window.onblur;
window.onfocus=__focusedF78900305;
window.onblur=__unfocusedF78900305;
function __focusedF78900305() {
if(_pre_focused78900305!=null && typeof _pre_focused78900305!='undefined') _pre_focused78900305();
__focused78900305=true;
}
function __unfocusedF78900305() {
if(_pre_unfocused78900305!=null && typeof _pre_unfocused78900305!='undefined') _pre_unfocused78900305();
__focused78900305=false;
}
function __isInView78900305(obj,bi,w,h) {
if(__imgs78900305.length==1) return true;
if(obj==null || typeof obj=='undefined') return false;
var x1=0,x2=0,y1=0,y2=0,_x1=0,_x2=0,_y1=0,_y2=0;
if(__ns4) {
y1=pageYOffset;
y2=pageYOffset+window.innerHeight;
x1=pageXOffset;
x2=pageXOffset+window.innerWidth;
_x1=obj.left;
_y1=obj.top;
_x2=_x1+parseInt(w);
_y2=_y1+parseInt(h);
}
else {
if(bi!=null && typeof bi!='undefined') obj=bi;
if(obj==null || typeof obj=='undefined') return false;
y1=document.body.scrollTop;
y2=document.body.scrollTop+document.body.offsetHeight;
x1=document.body.scrollLeft;
x2=document.body.scrollLeft+document.body.offsetWidth;
_x1=obj.offsetLeft;
_y1=obj.offsetTop;
_x2=obj.offsetLeft+obj.offsetWidth;
_y2=obj.offsetTop+obj.offsetHeight;
if(!__isInView_(_x1,_y1,_x2,_y2,x1,y1,x2,y2) ) return false;
if(parent!=null) {
//alert(parent);
//alert(parent.getDocument);
var doc=parent.document;
obj=__getObjById(doc,"iframe_78900305");
if(obj!=null) {
y1=doc.body.scrollTop;
y2=doc.body.scrollTop+doc.body.offsetHeight;
x1=doc.body.scrollLeft;
x2=doc.body.scrollLeft+doc.body.offsetWidth;
_x1=obj.offsetLeft;
_y1=obj.offsetTop;
_x2=obj.offsetLeft+obj.offsetWidth;
_y2=obj.offsetTop+obj.offsetHeight;
}
}
}
if( (_x1!=0 || _x2!=0 || _y1!=0 || _y2!=0) && __isInView_(_x1,_y1,_x2,_y2,x1,y1,x2,y2) )
return true;
else
return false;
}
function __isInView_(_x1,_y1,_x2,_y2,x1,y1,x2,y2) {
return (isInRectange(x1,y1,x2,y2,_x1,_y1) || isInRectange(x1,y1,x2,y2,_x1,_y2) || isInRectange(x1,y1,x2,y2,_x2,_y1) || isInRectange(x1,y1,x2,y2,_x2,_y2));
}
function __getObjById(doc,id) {
var obj=null;
if(doc.getElementById)
obj=obj=doc.getElementById(id);
else if (doc.all)
obj=eval("doc.all."+id);
else
obj=eval("doc."+id);
return obj;
}
function isInRectange(x1,y1,x2,y2,x,y) {
if(x>=x1 && x<=x2 && y>=y1 && y<=y2) return true;
else return false;
}
function __layerWrite(id,nestref,text) {
if (__ns4) {
var lyr = (nestref)? eval('document.'+nestref+'.document.'+id+'.document') : eval("document."+id+".document");
lyr.open();lyr.write(text);lyr.close();
}
else if (__ie4)
document.all[id].innerHTML = text
else
document.getElementById(id).innerHTML=text;
}
function replaceString(s,s1,s2) {
var rc = -1;
if (arguments[3] != null)
rc=arguments[3];
var start,end;
var l1=s.length;
var l2=s1.length;
var l3=s2.length;
var ptr=0,h="",t="",i=0;
while((start=s.toLowerCase().indexOf(s1.toLowerCase(),ptr))>=0) {
h=s.substring(0,start);
t=s.substring(start+l2);
s=h+s2+t;
ptr=start+l3;
i++;
if(rc>0 && i>=rc) break;
}
return s;
}
var __flash_html78900305="";
var __img_html78900305="
";
var __imgs78900305 = new Array(1);
var __links78900305 = new Array(1);
var __linkto78900305 = new Array(1);
var __mouseover_words78900305 = new Array(1);
var __bwids78900305 = new Array(1);
var __bids78900305 = new Array(1);
var __banner78900305 = new Array(1);
var __width78900305=new Array(1);
var __type78900305=new Array(1);
var __height78900305=new Array(1);
var __show_time78900305=new Array(1);
var __show_weight78900305=new Array(1);
var __show_weight278900305=new Array(1);
var __show_choice78900305=0;
var __img_cnt78900305=1;
var __use_default_intervaltime78900305=1;
var __intervalTime78900305=1000;
var __use_same_weight78900305=1;
var __total_show_weight78900305=10000000;
var __maxImpCnt=1000;
var __impCnt78900305=0;
var __random78900305=0;
var __pre_random78900305=-1;
var __pre_impressed78900305=0;
var __s78900305="&locid=4475&country=US&city=San%20Francisco&zipcode=&area_code=&dma_code=&isp=Performance%20Systems%20International%20Inc.&org=Performance%20Systems%20International%20Inc.&on_page="+escape(top.location.href)+"";
__bwids78900305[0] = "237";
__bids78900305[0] = "228";
__imgs78900305[0] = "http://www.seamiles.com/ITGUpload/misc/f0_1199476566593.gif";
__links78900305[0] = "http://www.seamiles.com/goto.jsp?bid=228&rid=116";
__linkto78900305[0] = "http://www.firstusa.com/cgi-bin/webcgi/webserve.cgi?partner_dir_name=seamiles&page=cont&mkid=6XN8&AFFID=196248";
__width78900305[0] = "468";
__type78900305[0] = "0";
__height78900305[0] = "60";
__show_time78900305[0] = "1000";
__show_weight78900305[0] = "10000000";
__show_weight278900305[0] = "0";
__mouseover_words78900305[0] = "5000 BONUS SeaMiles - SDTA #196248";
__banner78900305[0] = new Image();
__banner78900305[0].src = __imgs78900305[0];
__banner78900305[0].width = __width78900305[0];
__banner78900305[0].height = __height78900305[0];
function __clickLink78900305() {
if(__links78900305[__random78900305].length>10) {
if(__pre_impressed78900305==0 && __pre_random78900305>=0) {
__writeImpression78900305("http://www.seamiles.com/"+Math.ceil(Math.random()*10000000000000)+".bip?pid=83&rid=116&bid="+__bids78900305[__random78900305]+"&bwid="+__bwids78900305[__random78900305]+"&img="+__imgs78900305[__random78900305]+"&pg="+__linkto78900305[__random78900305]+__s78900305 );
__pre_impressed78900305==1;
}
var sealWin=window.open(__links78900305[__random78900305]+"&bwid="+__bwids78900305[__random78900305]+__s78900305,"",'');
sealWin.focus();
}
}
function __mymouseover78900305() {
window.status=__mouseover_words78900305[__random78900305];
return true;
}
function __getBannerHtml78900305(type,img_url,width,height) {
var __html="";
if(type=="1") __html=__flash_html78900305;
else __html=__img_html78900305;
__html=replaceString(__html,"@@width@@",width);
__html=replaceString(__html,"@@height@@",height);
__html=replaceString(__html,"@@img_url@@",img_url);
return __html;
}
var __layerObj78900305=null;
if(__ns4) {
document.write(""+__getBannerHtml78900305(__type78900305[0],__imgs78900305[0],__width78900305[0],__height78900305[0])+"");
__layerObj78900305=document.b78900305;
__layerObj78900305.left=document.ib78900305.pageX;
__layerObj78900305.top=document.ib78900305.pageY;
}
else {
document.write(""+__getBannerHtml78900305(__type78900305[0],__imgs78900305[0],__width78900305[0],__height78900305[0])+"");
if(__ns6)
__layerObj78900305=document.getElementById("b78900305")
else
__layerObj78900305=document.all.b78900305;
}
function __writeImpression78900305(img_src) {
var obj=document.__imp78900305;
obj.src=img_src;
}
document.write( (__ns4?"":"")+"
"+(__ns4?"":"") );
document.write( (__ns4?"":"")+"
"+(__ns4?"":"") );
if(__focused78900305 && __isInView78900305(__layerObj78900305,document.bi78900305,__width78900305[0],__height78900305[0]) ) {
__writeImpression78900305("http://www.seamiles.com/bannerImpression.jsp?pid=83&rid=116&bid="+__bids78900305[0]+"&bwid="+__bwids78900305[0]+"&img="+__imgs78900305[0]+"&pg="+__linkto78900305[0]+__s78900305);
__impCnt78900305++;
}