// Flashtalking Expanding Video Banner Template - Template 11.05 01 - updated for V2.1 // www: http://www.flashtalking.com // Date of last revision: 31st August 2007 // // (c) Simplicity Marketing Ltd (the company). Flashtalking is a Trade Mark of // Simplicity Marketing Ltd. This template and all related code must only ever be used // in conjunction with ad files supplied by the company; any use of this template for ad // files not supplied by the company will represent a breach of copyright. All coding // and scripting at all times remains the property of the company and the provision of // services by the company does not represent assignment of copyright. // ------------------------ ADSERVER EDIT HERE ----------------------------------- // This should be changed to the URL of the SWF file on the adserver.... var prefswf_120600 = "http://spe.atdmt.com/ds/1EMOEFOATFAT/Flashtalking/Focus_MCA_120_350x600_expandSky_FT.swf"; // This should be changed to the URL of the Alt Image file on the adserver.... var altimage_120600 = "http://spe.atdmt.com/ds/1EMOEFOATFAT/Flashtalking/expandSky.gif"; // This is the clickthrough of the SWF file var prefswfhref_120600 = "http://clk.atdmt.com/go/slzbrfat0040000027moe/direct;ai.38248417;ct.1/01"; // This is the clickthrough of the Alt image file var altimghref_120600 = "http://clk.atdmt.com/go/slzbrfat0040000027moe/direct;ai.38248417;ct.2/01"; // ------------------------ END ADSERVER EDIT HERE ----------------------------------- var minflashver_120600=7; var maxflashver_120600=13; var baseurl_120600=""; var alttext_120600="Click Here"; var altimgwidth_120600="120"; var altimgheight_120600="600"; var prefswfwidth_120600="350"; var prefswfheight_120600="600"; var prefswfdivwidth_120600="120"; var prefswfdivheight_120600="600"; var prefswfcontractedwidth_120600="120"; var prefswfcontractedheight_120600="600"; var prefswfindentacross_120600="230";//left is 0 var prefswfindentdown_120600="0";//top is 0 var prefswfbgcolour_120600="FFFFFF"; var prefswfwmode_120600="transparent"; var hideiframe_120600=false; var hideapplet_120600=false; var hideselect_120600=true; var hideobject_120600=false;//aka hideflash var ftnosafari_120600=false; var ftnofirefox_120600=false; var ftnoopera_120600=false; var ftattachtobody_120600=false;//default to false var ftzindex_120600="77000";//default to 77000 var ftusebasez_120600=true;//true uses site zindex when contracted, false maintains ftzindex var ftCreativeID_120600="13147"; var ftDynCID_120600=1879; var ftAgencyUser_120600="Vienna"; var localfilepath_120600="flashtalking/ftlocal.html";//setdefaultstubfile // // // For most adservers Var's below this line will be constant var horizontalAlignment_120600="";//left or right var verticalAlignment_120600="";//top or bottom var fthideuntilload_120600=false; var ftinajax_120600=false; var ftpixelimg_120600="http://video.flashtalking.com/images/pixel.gif"; var ftifsrc_120600="http://video.flashtalking.com/breakOut/ft_120x600_static_11-05.js"; var crossoverobjtypes_120600 = new Array(); var ftcrossoverobjs_120600 = new Array(); var prefswfid_120600="ftswfid120600"; var prefswfdivcontractleft_120600="0"; var prefswfdivcontracttop_120600="0"; var prefswfdivcontractright_120600="0"; var prefswfdivcontractbottom_120600="0"; var altimgtarget_120600="_blank"; var altimgborder_120600="0"; var altimgid_120600="ftaltpicid_120600"; var altimgvisible_120600="hidden"; var divid_120600="ftdivid_120600"; var machtype_120600=determineMachineType_120600(); var browtype_120600=determineBrowser_120600(); var flashver_120600=0; var goodsetup_120600=false; //one tag vars var defaultlocalfile_120600="flashtalking/ftlocal.html"; var ftinframe_120600=false; var trackingid_120600="h3cfuxll9bqamkfsgr2hpvnttixay9slwjqkebzi6o3nr0ag"; var qstr_120600=""; var ftscriptid_120600="ftscript_120x600"; //end one tag vars var ftiscontracted_120600=false; var ftmethod_120600="Fscommand"; var ftfirstrun_120600=true; var ftwn_120600=""; var sitez_120600=0; var ftflashvis_120600="visible"; var ftvisoncontract_120600=true; prefswfdivcontractleft_120600=parseInt(prefswfindentacross_120600); prefswfdivcontracttop_120600=parseInt(prefswfindentdown_120600); prefswfdivcontractright_120600=(parseInt(prefswfindentacross_120600)+parseInt(prefswfcontractedwidth_120600)); prefswfdivcontractbottom_120600=(parseInt(prefswfindentdown_120600)+parseInt(prefswfcontractedheight_120600)); localfilepath_120600=(localfilepath_120600!="")?localfilepath_120600:defaultlocalfile_120600; if(localfilepath_120600.indexOf("/")==0){ localfilepath_120600=localfilepath_120600.substr(1,localfilepath_120600.length); } if(typeof(getElementRef_120600(ftscriptid_120600))=="object"){ qstr_120600=getElementRef_120600(ftscriptid_120600).src; } var qs1_120600=new Querystring120600() function Querystring120600() { var s=qstr_120600.indexOf("?"); var querystring=qstr_120600.substring((s+1),qstr_120600.length); querystring=unescape(querystring); var args=querystring.split('&'); for(var i=0;i1){ for(var i2=2;i20){ fthref=fthref.substr(0,i); } return fthref; } try{ if(window!=top){ ftinframe_120600=true; } } catch(e) { ftinframe_120600=true; } ftgetvars_120600(); if(((typeof(inDapMgrIf)!="undefined")&&(inDapMgrIf))||(ftinajax_120600)){ ftmethod_120600=""; ftattachtobody_120600=false; }else{ if((typeof(inDapIF)!="undefined")&&(inDapIF)){ ftattachtobody_120600=false; ftflashvis_120600="hidden"; } } if((machtype_120600 == "win")&&(browtype_120600 == "MSIE")&&(determineIEVersion_120600(browtype_120600)>=6)){ flashver_120600=determineWinFlashVer_120600(maxflashver_120600); if(flashver_120600>=minflashver_120600){ goodsetup_120600=true; ftgetgsvars_120600(); } }else{ if((((browtype_120600=="fx")&&(determineFXVersion_120600() >=1.0))&&(!ftnofirefox_120600)&&(machtype_120600!="other"))||((((browtype_120600=="op")&&(determineOPVersion_120600() >=9.0))&&(!ftnoopera_120600)&&(machtype_120600!="other")))){ flashver_120600=determineNonWinFlashVer_120600(maxflashver_120600); if(flashver_120600>=minflashver_120600){ goodsetup_120600=true; ftgetgsvars_120600(); if(prefswfwmode_120600=="window"){ prefswfwmode_120600="opaque"; } if(machtype_120600=="mac"){ if(((browtype_120600=="fx")&&(determineFXVersion_120600()>=1.5))||(browtype_120600=="op")){ ftmethod_120600=""; horizontalAlignment_120600=ftcalcflalign_120600(prefswfindentacross_120600,prefswfwidth_120600,prefswfcontractedwidth_120600,'h'); verticalAlignment_120600=ftcalcflalign_120600(prefswfindentdown_120600,prefswfheight_120600,prefswfcontractedheight_120600,'v'); if((horizontalAlignment_120600=="none")||(verticalAlignment_120600=="none")){ goodsetup_120600=false; } }else{ goodsetup_120600=false; } } } }else{ if(((browtype_120600=="sf")&&(machtype_120600=="mac"))&&(!ftnosafari_120600)){ flashver_120600=determineNonWinFlashVer_120600(maxflashver_120600); if(flashver_120600>=minflashver_120600){ goodsetup_120600=true; ftmethod_120600=""; ftgetgsvars_120600(); if(ftinframe_120600){ goodsetup_120600=false; } horizontalAlignment_120600=ftcalcflalign_120600(prefswfindentacross_120600,prefswfwidth_120600,prefswfcontractedwidth_120600,'h'); verticalAlignment_120600=ftcalcflalign_120600(prefswfindentdown_120600,prefswfheight_120600,prefswfcontractedheight_120600,'v'); if((horizontalAlignment_120600=="none")||(verticalAlignment_120600=="none")){ goodsetup_120600=false; } } } } } if((ftinframe_120600)&&(goodsetup_120600)){ var hostdomain_120600=document.referrer; hostdomain_120600=getDomain_120600(hostdomain_120600); var thisdomain_120600=getDomain_120600(self.location.href); if((hostdomain_120600!=thisdomain_120600)&&(hostdomain_120600!="")){ hostdomain_120600="http://"+hostdomain_120600+"/"+qs1_120600.get("ftadlocal",localfilepath_120600); var loadfile_120600="?ifsrc="+encodeURIComponent(qs1_120600.get("ifsrc",ftifsrc_120600)); loadfile_120600+=ftvarstr_120600(); hostdomain_120600+=loadfile_120600; document.location.replace(hostdomain_120600); }else{ main_120600(); } }else{ if(typeof(qs)=="undefined"){ ftinframe_120600=false; } main_120600(); } function ftgetstyle_120600(obj,IEattr,attr){ if(typeof(obj)!="object"){ obj=getElementRef_120600(obj); } if(typeof(obj.currentStyle)!="undefined"){ var str2=".currentStyle."+IEattr; var str1=""; }else{ if(ftinframe_120600){ var str1="window.parent.document.defaultView.getComputedStyle("; }else{ var str1="document.defaultView.getComputedStyle("; } var str2=",'').getPropertyValue('"+attr+"')"; } var result=eval(str1+'obj'+str2); return result; } function ftgetgsvars_120600(){ ftinframe_120600=eval(qs1_120600.get("ftiniframe",ftinframe_120600)); prefswfwmode_120600=qs1_120600.get("ftwin",prefswfwmode_120600); ftsetobjtypes_120600(hideiframe_120600,qs1_120600.get("fthide",""),"iframe","i");//first argument is template boolean ftsetobjtypes_120600(hideapplet_120600,qs1_120600.get("fthide",""),"applet","j"); ftsetobjtypes_120600(hideobject_120600,qs1_120600.get("fthide",""),"object","f"); ftsetobjtypes_120600(hideselect_120600,qs1_120600.get("fthide",""),"select","s"); ftusebasez_120600=eval(qs1_120600.get("ftibz",ftusebasez_120600)); ftzindex_120600=qs1_120600.get("ftadz",ftzindex_120600); } function ftgetvars_120600(){ ftnosafari_120600=eval(qs1_120600.get("ftexcludesafari",ftnosafari_120600)); ftnofirefox_120600=eval(qs1_120600.get("ftexcludefirefox",ftnofirefox_120600)); ftnoopera_120600=eval(qs1_120600.get("ftexcludeopera",ftnoopera_120600)); ftattachtobody_120600=eval(qs1_120600.get("ftattachtobody",ftattachtobody_120600)); } function ftContract_120600(id){ var divid=getElementRef_120600(id); if(!divid){ divid=id; } if(typeof(divid)=="object"){ var height=prefswfdivcontractbottom_120600; var width=prefswfdivcontractright_120600; var top=prefswfdivcontracttop_120600; var left=prefswfdivcontractleft_120600; var otddivid=getElementRef_120600("ftotd"+id); otddivid.style.zIndex=sitez_120600; if(ftvisoncontract_120600){ divid.style.visibility="visible"; } if(machtype_120600=="mac"){ divid.style.height=prefswfcontractedheight_120600+"px"; divid.style.width=prefswfcontractedwidth_120600+"px"; divid.style.left=0+"px"; divid.style.top=0+"px"; }else{ divid.style.clip="rect("+top+"px "+width+"px "+height+"px "+left+"px)"; divid.style.left=(0-left+"px"); divid.style.top=(0-top+"px"); } } ftdisplayCrossovers_120600("inherit"); ftiscontracted_120600=true; } function main_120600(){ if(goodsetup_120600==true){ if((!ftinframe_120600)&&(ftattachtobody_120600)){ outputAltImg_120600(ftpixelimg_120600,baseurl_120600,altimgid_120600,alttext_120600,altimgwidth_120600,altimgheight_120600,altimgtarget_120600,"hidden",altimgborder_120600,""); if(document.readyState){ document.onreadystatechange=ftcheckload_120600; } ftaddOnload_120600(); }else{ mainflash_120600(); } }else{ altimgvisible_120600="visible"; goodsetup_120600=false; outputAltImg_120600(altimage_120600,baseurl_120600,altimgid_120600,alttext_120600,altimgwidth_120600,altimgheight_120600,altimgtarget_120600,altimgvisible_120600,altimgborder_120600,altimghref_120600); document.close(); } } function mainflash_120600(){ var flashvis="visible"; if(ftinframe_120600){ ftgetwinref_120600(); if(browtype_120600=="MSIE"){ flashvis=ftflashvis_120600; } } if((fthideuntilload_120600)&&(!ftinframe_120600)){ flashvis="hidden"; } outputFlashDiv_120600(divid_120600,prefswfdivheight_120600,prefswfdivwidth_120600,prefswf_120600,baseurl_120600,prefswfid_120600,prefswfwidth_120600,prefswfheight_120600,prefswfhref_120600,prefswfbgcolour_120600,prefswfwmode_120600,prefswfdivcontractleft_120600,prefswfdivcontracttop_120600,prefswfdivcontractright_120600,prefswfdivcontractbottom_120600,flashvis,ftzindex_120600); setTimeout("ftContract_120600(divid_120600)",5); if(ftinframe_120600){ ftoutputfrscript_120600(ftwn_120600); ftcheckload_120600(); if(parent.document.readyState){ parent.document.onreadystatechange=ftcheckload_120600; } } } function determineMachineType_120600(){ if(navigator.appVersion.indexOf("Windows")!=-1){ return "win"; } if(navigator.appVersion.indexOf("Mac")!=-1){ return "mac"; } return "other"; } function determineBrowser_120600(){ if(navigator.appVersion.indexOf("MSIE")!=-1&&navigator.userAgent.indexOf("Opera")<0){ return "MSIE"; } if(navigator.userAgent.indexOf("Safari")!=-1){ return "sf"; } if(navigator.userAgent.indexOf("Opera")!=-1){ return "op"; } if(navigator.appName.indexOf("Netscape")!=-1){ if((navigator.product.indexOf("Gecko")!=-1)&&((navigator.vendor.indexOf("Firefox")!=-1)||navigator.userAgent.indexOf("Firefox")!=-1)){ return "fx"; }else{ return "ntsc"; } } } function determineIEVersion_120600(browtype){ if(typeof(browtype)!="undefined"){ var i=navigator.appVersion.indexOf(browtype)+browtype.length; var IEVerStr=navigator.appVersion.substr(i); IEVerStr=parseFloat(IEVerStr.substring(0,IEVerStr.indexOf(';'))); return IEVerStr; }else{ return false; } } function determineFXVersion_120600(){ return parseFloat(navigator.userAgent.substr(navigator.userAgent.lastIndexOf("Firefox/") + 8)); } function determineSFVersion_120600(){ return parseFloat(navigator.userAgent.substr(navigator.userAgent.lastIndexOf("Safari/") + 7)); } function determineOPVersion_120600(){ return parseFloat(navigator.userAgent.substr(navigator.userAgent.lastIndexOf("Opera/") + 6)); } function determineWinFlashVer_120600(maxflashver){ var nwln="\r\n"; var got_it=""; var vbStr=''; vbStr+='On Error Resume Next'+nwln; vbStr+='Dim ftobjFlash_120600'+nwln; vbStr+='Dim i '+nwln; vbStr+='For i = ' + maxflashver + ' To 1 Step -1'+nwln; vbStr+=' Set ftobjFlash_120600 = CreateObject(\"ShockwaveFlash.ShockwaveFlash.\" & i & \"\")'+nwln; vbStr+=' If IsObject(ftobjFlash_120600) Then '+nwln; vbStr+=' flashVer_120600 = i '+nwln; vbStr+=' Exit For'+nwln; vbStr+=' End If'+nwln; vbStr+='Next'+nwln; vbStr+='If IsEmpty(flashVer_120600) Then'+nwln; vbStr+=' flashVer_120600 = false'+nwln; vbStr+='End If'+nwln; window.execScript(vbStr, "VBScript"); return flashVer_120600; } function determineNonWinFlashVer_120600(maxflashver){ var flashVer=0; var i=0; if(navigator.userAgent.indexOf("mozilla/3")!=-1&&determineBrowser_120600!="MSIE"){ flashVer=false; return flashVer; } if(navigator.plugins!=null&&navigator.plugins.length>0){ if(navigator.plugins['Shockwave Flash 2.0']){ flashVer=2; return flashVer; } var flashPlugin=navigator.plugins['Shockwave Flash']; if(typeof flashPlugin=='object'){ i=(flashPlugin.description.indexOf("Shockwave Flash")+("Shockwave Flash".length+1)) flashVer=flashPlugin.description.substring(i,i+1); return flashVer; } } if((flashVer==0)||(typeof(flashVer)!="number")){ return false; } } function getElementRef_120600(elementName){ var elementRef=""; var parwin=false; if(goodsetup_120600 && ftinframe_120600){ parwin=true; } if(!document.body){ document.write(''); } if(document.getElementById){ if(document.getElementById(elementName)){ elementRef=eval(document.getElementById(elementName)); } else { if((parwin) && (window.parent.document.getElementById(elementName))){ elementRef=eval(window.parent.document.getElementById(elementName)); } } }else if(!document.getElementById&&document.all){ if(eval("window."+elementName)){ elementRef=eval("window."+elementName); }else{ if((parwin)&&eval("window.parent."+elementName)){ elementRef=eval("window.parent."+elementName); } } }else if(document.layers){ if(document.layers[elementName]){ elementRef=eval(document.layers[elementName]); }else{ if((parwin)&&(window.parent.document.layers[elementName])){ elementRef=eval(window.parent.document.layers[elementName]); } } } return elementRef; } function outputAltImg_120600(img,baseurl,id,alttext,width,height,target,visible,border,href){ var imgsrc=baseurl+img; var astr=''; var imgstr=''+alttext+''; var astr2=''; if((ftinframe_120600)&&(goodsetup_120600)){ try{ if(window.frameElement.parentElement.tagName.toLowerCase()=="body"){ window.frameElement.style.position="absolute"; } }catch(e){ if(frameElement.parentNode.tagName.toLowerCase()=="body"){ frameElement.style.position="absolute"; } } iframeimg_120600(astr,astr2,imgstr); return true; }else{ document.write(astr+imgstr+astr2); return false; } } function iframeimg_120600(str1,str2,imgstr){ var parentwin=window.parent; if(window.parent.document.getElementById(altimgid_120600)==null){ var ifwin=window.frameElement; if(browtype_120600!="MSIE"){ var tempnode=ifwin.parentNode; var ftrange=window.parent.document.createRange(); ftrange.setStartBefore(ifwin); var ftrangebit=ftrange.createContextualFragment(str1+imgstr+str2); tempnode.insertBefore(ftrangebit,ifwin); }else{ var str=str1+str2; var ifimg=parentwin.document.createElement(str); ifwin.insertAdjacentElement("beforeBegin",ifimg); var ifpic=parentwin.document.createElement(imgstr); ifwin.insertAdjacentElement("beforeBegin",ifpic); } } altimgid_120600="window.parent.document.getElementById('"+altimgid_120600+"')"; return true; } function outputFlash_120600(swf,baseurl,id,width,height,href,bgcolour,divid,wmode){ var swfurl=baseurl+swf; var embedstr=""; var clickTag='clickTag='+escape(href)+'&divID='+escape(divid)+'&ftfuncid='+escape(120600)+'&ftMethod='+escape(ftmethod_120600)+'&creativeID='+escape(ftCreativeID_120600)+'&dynCID='+escape(ftDynCID_120600)+'&agencyUser='+escape(ftAgencyUser_120600); if(browtype_120600=="MSIE"){ var ftflashstr=''; ftflashstr+=''; ftflashstr+=''; ftflashstr+=''; ftflashstr+=''; ftflashstr+=''; ftflashstr+=''; ftflashstr+=''; }else{ if(machtype_120600=="mac"){ height="100%"; width="100%"; embedstr=' scale="noscale" salign="'+ftflashalign_120600()+'" '; } var ftflashstr=''; var ftflashdivstr2='
'; ftflashdivstr2+=outputFlash_120600(swf,baseurl,id,width,height,href,bgcolour,divid,wmode); ftflashdivstr2+='
'; var ftflashdivstr3=''; if(ftinframe_120600){ outputAltImg_120600(ftpixelimg_120600,baseurl_120600,altimgid_120600,alttext_120600,altimgwidth_120600,altimgheight_120600,altimgtarget_120600,"hidden",altimgborder_120600,altimghref_120600); var ftflashdivstr='
'; window.frameElement.style.width="0px"; window.frameElement.style.height="0px"; if(ftattachtobody_120600){ if(browtype_120600!="MSIE"){ var ftflashdivobj=window.parent.document.createElement('div'); ftflashdivobj.id="ftotd"+divid; ftflashdivobj.style.position="absolute"; ftflashdivobj.style.left=getAbsLeft_120600(eval(altimgid_120600),2)+'px'; ftflashdivobj.style.top=getAbsTop_120600(eval(altimgid_120600),2)+'px'; ftflashdivobj.style.width=divwidth+'px'; ftflashdivobj.style.height=divheight+'px'; ftflashdivobj.innerHTML=ftflashdivstr2; window.parent.document.body.appendChild(ftflashdivobj); }else{ window.parent.document.body.insertAdjacentHTML("afterBegin",(ftflashdivstr+ftflashdivstr2+ftflashdivstr3)); ftoutputhook_120600(); } }else{ if((browtype_120600=="fx")||(browtype_120600=="sf")){ var tempnode=eval(altimgid_120600).parentNode.parentNode; var ftrange=window.parent.document.createRange(); ftrange.setStartBefore(eval(altimgid_120600).parentNode); ftflashdivstr=ftflashdivstr+ftflashdivstr2+ftflashdivstr3; var ftrangebit=ftrange.createContextualFragment(ftflashdivstr); tempnode.appendChild(ftrangebit); }else{ var imgobj=eval(altimgid_120600); imgobj.insertAdjacentHTML("afterEnd",(ftflashdivstr+ftflashdivstr2+ftflashdivstr3)); ftoutputhook_120600(); } } ftgetCrossovers_120600((getAbsLeft_120600(getElementRef_120600(prefswfid_120600),1)-prefswfdivcontractleft_120600),(getAbsTop_120600(getElementRef_120600(prefswfid_120600),1)-prefswfdivcontracttop_120600),prefswfwidth_120600,prefswfheight_120600,prefswfid_120600); ftaddOnresize_120600(); if(ftusebasez_120600){ sitez_120600=ftgetstyle_120600(eval(altimgid_120600),"zIndex","z-index"); }else{ sitez_120600=ftzindex_120600; } document.close(); }else{ if(ftattachtobody_120600){ var ftflashdivobj=document.createElement('div'); ftflashdivobj.id="ftotd"+divid; ftflashdivobj.style.position="absolute"; var l=getAbsLeft_120600(getElementRef_120600(altimgid_120600),2); if(browtype_120600=="sf"){ var fti=getElementRef_120600(altimgid_120600); if(fti.offsetParent.tagName=="body"){ l=(getAbsLeft_120600(getElementRef_120600(altimgid_120600),2)-10); } } var t=parseInt(getAbsTop_120600(getElementRef_120600(altimgid_120600),2)); ftflashdivobj.style.left=l+'px'; ftflashdivobj.style.top=t+'px'; ftflashdivobj.style.width=divwidth+'px'; ftflashdivobj.style.height=divheight+'px'; ftflashdivobj.innerHTML=ftflashdivstr2; document.body.appendChild(ftflashdivobj); ftaddOnresize_120600(); }else{ document.write(ftflashdivstr); outputAltImg_120600(ftpixelimg_120600,baseurl_120600,altimgid_120600,alttext_120600,altimgwidth_120600,altimgheight_120600,altimgtarget_120600,"hidden",altimgborder_120600,altimghref_120600); document.write(ftflashdivstr2+ftflashdivstr3); ftfirstrun_120600=false; } ftoutputhook_120600(); ftaddOnload_120600(); document.close(); } } function ftifreset_120600(){ resetPosition_120600(); setTimeout("ftmakevisible_120600()",20); } function ftmakevisible_120600(){ var divobj = getElementRef_120600(divid_120600); if(typeof(divobj)=="object"){ divobj.style.visibility="visible"; } } function ftExpand_120600(id){ var clipset="'rect(auto auto auto auto)'"; var divid=getElementRef_120600(id); if(!divid){ divid=id; } if(typeof(divid)=="object"){ var otddivid=getElementRef_120600("ftotd"+id); otddivid.style.zIndex=ftzindex_120600; if(machtype_120600=="mac"){ divid.style.left=(0-prefswfindentacross_120600+"px"); divid.style.top=(0-prefswfindentdown_120600+"px"); divid.style.height=prefswfheight_120600+"px"; divid.style.width=prefswfwidth_120600+"px"; }else{ divid.style.clip=eval(clipset); if(browtype_120600=="op"){ divid.style.height=prefswfheight_120600+"px"; divid.style.width=prefswfwidth_120600+"px"; } } } if(!(browtype_120600=="op"&&machtype_120600=="mac")){ ftgetCrossovers_120600((getAbsLeft_120600(getElementRef_120600(prefswfid_120600),1)),(getAbsTop_120600(getElementRef_120600(prefswfid_120600),1)),prefswfwidth_120600,prefswfheight_120600,prefswfid_120600); } ftdisplayCrossovers_120600("hidden"); ftiscontracted_120600=false; } function resetPosition_120600(){ var fttestdiv1=getElementRef_120600('ftotd'+divid_120600); if(ftinframe_120600&&goodsetup_120600){ var l=0; var t=0; if(ftattachtobody_120600){ l=getAbsLeft_120600(eval(altimgid_120600),2); t=getAbsTop_120600(eval(altimgid_120600),2); }else{ l=getAbsLeft_120600(eval(altimgid_120600)); t=getAbsTop_120600(eval(altimgid_120600)); } fttestdiv1.style.left=l+"px"; fttestdiv1.style.top=t+"px"; }else{ if(goodsetup_120600&&ftattachtobody_120600){ fttestdiv1.style.left=getAbsLeft_120600(getElementRef_120600(altimgid_120600),2)+"px"; fttestdiv1.style.top=getAbsTop_120600(getElementRef_120600(altimgid_120600),2)+"px"; } } } function ftaddOnresize_120600(){ if(goodsetup_120600){ var fttempstr=""; var ftpreonresize=""; var fttargwin="window"; if(ftinframe_120600){ var fttargwin="window.parent"; } if(typeof eval(fttargwin+".onresize")=="undefined"||eval(fttargwin+".onresize")==null) { ftpreonresize=""; }else{ fttempstr=eval(fttargwin+".onresize.toString()"); ftpreonresize=fttempstr.slice((fttempstr.indexOf("{")+1),fttempstr.lastIndexOf("}")); } ftpreonresize=ftpreonresize+";resetPosition_120600();"; eval("function ftresizefuncs_120600(){ " + ftpreonresize + "}"); try{ eval(fttargwin+'.addEventListener("resize",ftresizefuncs_120600,false)'); }catch(e){ eval(fttargwin+'.attachEvent("onresize",ftresizefuncs_120600)'); } } } function ftswfid120600_DoFSCommand(command, args){//function name needs to be the id of the flash file - clicktag str needs to include ftMethod variable if(command=="ftExpand_120600"){ var ftargs=args.split('&'); ftExpand_120600(ftargs[0],ftargs[1]); } if(command=="ftContract_120600"){ var ftargs=args.split('&'); ftContract_120600(ftargs[0]); } } function ftoutputhook_120600(){ if((browtype_120600=="MSIE")&&(ftmethod_120600.toLowerCase()=="fscommand")){ var fsstr=""; var fsscr=""+prefswfid_120600+"_DoFSCommand(command, args);"; var parwin=window; if((ftinframe_120600)&&(goodsetup_120600)){ parwin=window.parent; var fsscr="eval(window.frames[\'"+ftwn_120600+"\']."+prefswfid_120600+"_DoFSCommand(command, args));"; } var fsobj=parwin.document.createElement(fsstr); fsobj.setAttribute("id","fscom_120600"); fsobj.text=fsscr; var parentobj=getElementRef_120600(prefswfid_120600); if(typeof(parentobj.parentNode)=="object"){ parentobj=parentobj.parentNode; }else{ parentobj=parwin.document.body; } parentobj.appendChild(fsobj); } } function fthasCrossover_120600(ftleft,fttop,ftwidth,ftheight,objleft,objtop,objwidth,objheight){ fttop=(parseInt(fttop)<0)?0:fttop; ftleft=(parseInt(ftleft)<0)?0:ftleft; ftleft = parseInt(ftleft); fttop = parseInt(fttop); ftwidth = parseInt(ftwidth); ftheight = parseInt(ftheight); objleft = parseInt(objleft); objtop = parseInt(objtop); objwidth = parseInt(objwidth); objheight = parseInt(objheight); if((objtop<=(fttop+ftheight))&&((objtop+objheight)>=fttop)&&(objleft<=(ftleft+ftwidth))&&((objleft+objwidth)>=ftleft)){ return true; } else { return false; } } function ftobjVisible_120600(obj){ var objvis=obj.style.visibility; var objParent=obj.offsetParent; while(objParent!=null){ if((objvis=="hidden")||objParent.style.visibility=="hidden"){ return false; }else{ objParent=objParent.offsetParent; } } return true; } function getAbsLeft_120600(id){ if(getAbsLeft_120600.arguments.length==1){ if(typeof(id)!="object"){ id=getElementRef_120600(id); } if(typeof(id.currentStyle)!="undefined"){ var teststr2=".currentStyle.position"; var teststr1=""; }else{ if(ftinframe_120600){ var teststr1="window.parent.document.defaultView.getComputedStyle("; }else{ var teststr1="document.defaultView.getComputedStyle("; } var teststr2=",'').getPropertyValue('position')"; } if(eval(teststr1+"id.offsetParent"+teststr2)=="relative"){ var objLeft=0; objLeft+=id.offsetLeft; }else{ var objLeft=id.offsetLeft; while(id.offsetParent!=null){ objParent=id.offsetParent; if((eval(teststr1+"id.offsetParent"+teststr2)!="absolute")&&(eval(teststr1+"id.offsetParent"+teststr2)!="relative")){ objLeft+=objParent.offsetLeft; } id=objParent; } } }else{ var objLeft=id.offsetLeft; var objParent; while(id.offsetParent!=null){ objParent=id.offsetParent; objLeft+=objParent.offsetLeft; id=objParent; } } return objLeft; } function getAbsTop_120600(id){ if(getAbsTop_120600.arguments.length==1){ if(typeof(id)!="object"){ id=getElementRef_120600(id); } if(typeof(id.currentStyle)!="undefined"){ var teststr2=".currentStyle.position"; var teststr1=""; }else{ if(ftinframe_120600){ var teststr1="window.parent.document.defaultView.getComputedStyle("; }else{ var teststr1="document.defaultView.getComputedStyle("; } var teststr2=",'').getPropertyValue('position')"; } if(eval(teststr1+"id.offsetParent"+teststr2)=="relative"){ var objTop=0; objTop+=id.offsetTop; }else{ var objTop=id.offsetTop; while(id.offsetParent!=null){ objParent=id.offsetParent; if((eval(teststr1+"id.offsetParent"+teststr2)!="absolute")&&(eval(teststr1+"id.offsetParent"+teststr2)!="relative")){ objTop+=objParent.offsetTop; } id=objParent; } } }else{ var objTop=id.offsetTop; while(id.offsetParent!=null){ objParent=id.offsetParent; objTop+=objParent.offsetTop; id=objParent; } } return objTop; } function ftgetCrossovers_120600(ftleft,fttop,ftwidth,ftheight,ftid){ var crossoverobjtypes=crossoverobjtypes_120600; ftcrossoverobjs_120600=new Array(); var targwin=window; if(ftinframe_120600){ targwin=window.parent; } for(var i=0;i