var params={};params.play="true";params.loop="false";params.quality="high";params.bgcolor="#ffffff";params.allowscriptaccess="always";var attributes={};attributes.id="main";attributes.name="main";attributes.align="middle";function getViewportSize(){var a=[0,0];if(typeof window.innerWidth!="undefined"){a=[window.innerWidth,window.innerHeight]}else{if(typeof document.documentElement!="undefined"&&typeof document.documentElement.clientWidth!="undefined"&&document.documentElement.clientWidth!=0){a=[document.documentElement.clientWidth,document.documentElement.clientHeight]}else{a=[document.getElementsByTagName("body")[0].clientWidth,document.getElementsByTagName("body")[0].clientHeight]}}return a}function determineFlashObjectSize(){var a=getViewportSize();var b=[960,600];if(a[0]>b[0]){b[0]="100%"}if(a[1]>b[1]){b[1]="100%"}return b}function createFullBrowserFlash(){swfobject.createCSS("html","height:100%;");swfobject.createCSS("body","height:100%;");swfobject.createCSS("#"+attributes.id,"margin:0; min-width:960px; min-height:600px;");window.onresize=function(){var a=determineFlashObjectSize();if($("#"+attributes.id)){$("#"+attributes.id).width(a[0]);$("#"+attributes.id).height(a[1])}};window.onresize()}var faustXMLString;var mainStyle;var starPos;var espotPositions;var domObj;function getFaust(){}function getClassCount(a){return $("."+a,domObj).length}function getAttributeArrayById(b,e,c){var d=$("#"+b+" "+e,domObj);var a=new Array(d.length-1);$.each(d,function(g,f){a[g]=$(this).attr(c)});return a}function getAttributeById(a,c,b){return getAttribute("#"+a,0,c,b)}function getAttributeByClass(d,a,c,b){return getAttribute("."+d,a,c,b)}function getAttribute(d,a,c,b){var e=$(d,domObj).eq(a);if(b){return e.css(c)}else{return e.attr(c)}}function prepareCookies(){getCountItems()}function getFaustXML(){return faustXMLString}function getMainStyleTag(){return mainStyle}function findPositions(){starPos=getPositionOfElement($("#espot_star"));var a=new Array($(".espot").length);$.each($(".espot"),function(b,c){a[b]=getPositionOfElement($(this))});espotPositions=a}function getPositionOfElement(a){var b=new Object();b.top=a.css("top");b.left=a.css("left");return b}$(document).ready(function(){var b=($.browser.msie)?$("#html_wrapper").find("select"):null;domObj=$("#html_wrapper").clone();$(domObj).find("#customer_reviews").empty();if(b){$(b).each(function(e){var d=this;$(domObj).find("select").eq(e).val($(d).val())})}var a="9.0.115";if(swfobject.getQueryParamValue("flash")!="off"){if(swfobject.hasFlashPlayerVersion("6.0.65")){faustXMLString=innerXHTMLofjQueryObject(domObj);var c=determineFlashObjectSize();swfobject.embedSWF(flashvars.swfPath+"shell.swf","flash_wrapper",c[0],c[1],a,flashvars.swfPath+"expressInstall.swf",flashvars,params,attributes);createFullBrowserFlash()}else{$("#main_wrapper").show()}}else{$("#main_wrapper").show()}});