function Suite(IdSuite){var altura=eval(window.screen.height);var top=eval(document.body.parentNode.scrollTop);var left=eval((window.screen.width/2)-300);this.$=function(obj){return document.getElementById(obj)};this.$("bg_suite").style.top=eval((top+altura)-150)+"px";this.pegadados=function(obj){var x=this.$("bg_suite").style[obj];x=x.replace("px","");x=parseInt(x);switch(obj){case"height":x=eval(x+50);break;case"top":x=eval(x-50);break}return x};this.suite=function(){var flash="";flash+='<table cellpadding="0" cellspacing="0" border="0">';flash+='<tr><td><img src="/suites/img/1.png"></td><td bgcolor="#FFFFFF"></td><td><img src="/suites/img/2.png"></td></tr>';flash+='<tr><td bgcolor="#FFFFFF"></td><td>';flash+='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" ';flash+='codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="600" height="170">';flash+='<param name="movie" value="/suites/suitefinal.swf">';flash+='<param name="quality" value="high">';flash+='<param name="wmode" value="opaque">';flash+='<param name="flashvars" value="IdSuite='+IdSuite+'">';flash+='<embed src="/suites/suitefinal.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer "';flash+='type="application/x-shockwave-flash" width="600" height="170" ';flash+='wmode="opaque" flashvars="IdSuite='+IdSuite+'"></embed>';flash+="</object>";flash+='</td><td bgcolor="#FFFFFF"></td></tr>';flash+='<tr><td><img src="/suites/img/3.png"></td><td bgcolor="#FFFFFF"></td><td><img src="/suites/img/4.png"></td></tr>';flash+="</table>";var h=eval(this.pegadados("top")+90);this.$("mc_suite").style.display="";this.$("mc_suite").style.top=h+"px";this.$("mc_suite").style.left=left+"px";this.$("mc_suite").innerHTML=flash};this.bg=function(){this.$("bg_suite").style.display="";var h=this.pegadados("height");var t=this.pegadados("top");if(h<350){this.$("bg_suite").style.height=h+"px";this.$("bg_suite").style.top=t+"px";setTimeout("this.bg()",10)}else{this.suite()}};this.bg()}function FecharSuite(){this.$=function(b){return document.getElementById(b)};var a=Array("bg_suite","mc_suite");for(i=0;i<a.length;i++){this.$(a[i]).style.top="0px";this.$(a[i]).style.height="0px";this.$(a[i]).style.display="none"}}document.write('<div id="bg_suite" style="display:none; height:0px; top:0px"></div>');document.write('<div id="mc_suite" style="display:none; leff:0px; top:0px;"></div>');