var isMozilla;var objDiv=null;var originalDivHTML="";var DivID="";var over=false;var OffSetLEFT=200;var OffSetTOP=175;var Type="Z";var divIdFloat;function buildDimmerDiv(){document.write('<div id="float" class="float" style="width:'+0+"px; height:"+0+'px"></div>')}function Float(){if(Type=="A"){document.getElementById(divIdFloat).style.top=document.body.scrollTop-100}else{if(Type=="B"){document.getElementById(divIdFloat).style.top=window.pageYOffset}else{if(Type=="C"){document.getElementById(divIdFloat).style.top=window.pageYOffset+"px"}}}if(Type=="X"){document.getElementById("divCompareBox").style.top=document.body.scrollTop+(document.body.scrollTop/4)}}function displayFloatingDiv(b,f,e,d,a){var c=500;if(parseInt(e)>parseInt(c)){e=c}DivID=divIdFloat=b;document.getElementById("divCompareBox").style.display="none";divID=b;document.getElementById("float").innerHTML="";if(originalDivHTML!=""){document.getElementById(b).innerHTML=originalDivHTML}document.getElementById("float").style.visibility="visible";document.getElementById(b).style.left=e+"px";document.getElementById(b).className="floating";if(document.all){Type="A"}else{if(document.layers){Type="B"}else{if(document.getElementById){Type="C"}}}originalDivHTML=document.getElementById(b).innerHTML;var g='<table class="floatingHeader"><tr><td ondblclick="void(0);" onmouseover="over=true;" onmouseout="over=false;" style="cursor:move;height:18px">'+f+'</td><td style="width:18px" align="right"><a href="javascript:hiddenFloatingDiv(\''+b+"' , '"+a+'\');void(0);"><img alt="Close..." title="Close..." src="images/close.jpg" border="0"></a></td></tr></table><div id="divUpperLogo"></div>';document.getElementById(b).innerHTML=g+originalDivHTML;document.getElementById(b).style.visibility="visible";document.getElementById(b).style.display="block";Float();if(document.all){window.onscroll=Float}else{setInterval("Float()",200)}}function displayFloatingDivCompare(a,d,c){var b=1200;if(parseInt(d)>parseInt(b)){d=b}divIdFloat=a;document.getElementById(a).style.visibility="visible";document.getElementById(a).style.display="block";document.getElementById(a).style.left=230+"px";document.getElementById(a).className="floatingCompareBox";if(document.all){Type="X"}else{if(document.layers){Type="B"}else{if(document.getElementById){Type="C"}}}Float();if(document.all){window.onscroll=Float}else{setInterval("Float()",200)}}function hiddenFloatingDiv(a,b){document.getElementById(a).innerHTML=originalDivHTML;document.getElementById(a).style.visibility="hidden";document.getElementById("float").style.visibility="hidden";DivID="";hiddenFloatingDiv}function MouseDown(a){if(over){if(isMozilla){objDiv=document.getElementById(DivID);X=a.layerX+230;Y=a.layerY+54;return false}else{objDiv=document.getElementById(DivID);objDiv=objDiv.style;X=event.offsetX-300;Y=event.offsetY;event.clientY+document.body.scrollTop}objDiv.cursor="move"}}function MouseMove(a){}function MouseUp(){if(objDiv!=null){objDiv.cursor="default";objDiv=null}}function init(){isMozilla=(document.all)?0:1;if(isMozilla){document.captureEvents(Event.MOUSEDOWN|Event.MOUSEMOVE|Event.MOUSEUP)}document.onmousedown=MouseDown;document.onmousemove=MouseMove;document.onmouseup=MouseUp;buildDimmerDiv()}init();