var uagent=navigator.userAgent.toLowerCase();var is_win=((uagent.indexOf("win")!=-1)||(uagent.indexOf("16bit")!=-1));var is_mac=((uagent.indexOf("mac")!=-1)||(navigator.vendor=="Apple Computer, Inc."));var ua_vers=parseInt(navigator.appVersion);var is_safari=((uagent.indexOf("safari")!=-1)||(navigator.vendor=="Apple Computer, Inc."));var is_opera=(uagent.indexOf("opera")!=-1);var is_webtv=(uagent.indexOf("webtv")!=-1);var is_ie=((uagent.indexOf("msie")!=-1)&&(!is_opera)&&(!is_safari)&&(!is_webtv));var is_ie4=((is_ie)&&(uagent.indexOf("msie 4.")!=-1));var is_ie7=((is_ie)&&(uagent.indexOf("msie 7.")!=-1));var is_ns=((uagent.indexOf("compatible")==-1)&&(uagent.indexOf("mozilla")!=-1)&&(!is_opera)&&(!is_webtv)&&(!is_safari));var is_ns4=((is_ns)&&(parseInt(navigator.appVersion)==4));var is_moz=(navigator.product=="Gecko");var dom=(document.getElementById&&!document.all);var field;var isTextArea;function showFlash(e){var c,b,a;if(e.quality){c=e.quality}else{c="high"}if(e.ver){a=e.ver}else{a=6}var d='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version='+a+',0,0,0" ';d+='id="'+e.id+'" ';if(e.base){d+='base="'+e.base+'" '}if(e.align){d+='align="'+e.align+'" '}d+='width="'+e.width+'" height="'+e.height+'"><param name="movie" value="'+e.name+'"/><param name="quality" value="'+c+'"/>';if(e.flashvars){d+='<param name="flashvars" value="'+e.flashvars+'"/>'}if(e.salign){d+='<param name="salign" value="'+e.salign+'"/>'}if(e.wmode){d+='<param name="wmode" value="'+e.wmode+'"/>'}d+='<param name="scale" value="'+b+'"/><embed type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" id="'+e.id+'-embed" src="'+e.name+'" ';if(e.flashvars){d+='flashvars="'+e.flashvars+'" '}if(e.swLiveConnect){d+='swLiveConnect="'+e.swLiveConnect+'" '}if(e.allowScriptAccess){d+='allowScriptAccess="'+e.allowScriptAccess+'" '}d+='quality="'+c+'" ';if(e.base){d+='base="'+e.base+'" '}if(e.wmode){d+='wmode="'+e.wmode+'" '}if(e.salign){d+='salign="'+e.salign+'" '}d+='scale="'+b+'" width="'+e.width+'" height="'+e.height+'"></embed></object>';document.writeln(d)}function ShowHide(b,a){if(b!=""){expMenu(b)}if(a!=""){expMenu(a)}}function expMenu(b){var a=null;if(document.getElementById){a=document.getElementById(b)}else{if(document.all){a=document.all[b]}else{if(document.layers){a=document.layers[b]}}}if(!a){}else{if(a.style){if(a.style.display=="none"){a.style.display=""}else{a.style.display="none"}}else{a.visibility="show"}}}function PopUp(b,c,d,j,a,e,h,k,f){if(k!=0){X=k}if(f!=0){Y=f}if(!h){h=1}if(!e){e=1}if((parseInt(navigator.appVersion)>=4)&&(a)){X=(screen.width-d)/2;Y=(screen.height-j)/2}if(h!=0){h=1}var g=window.open(b,c,"width="+d+",height="+j+",top="+Y+",left="+X+",resizable="+e+",scrollbars="+h+",location=no,directories=no,status=no,menubar=no,toolbar=no")}function togglecategory(e,d){saved=new Array();clean=new Array();var c=document.cookie;var f=c.indexOf("collapseprefs=");if(f!=1){var b=f+14;var a=c.indexOf(";",b);if(a==-1){a=c.length}cvalue=c.substring(b,a)}if(tmp=cvalue){saved=tmp.split(",")}for(i=0;i<saved.length;i++){if(saved[i]!=e&&saved[i]!=""){clean[clean.length]=saved[i]}}if(d){clean[clean.length]=e}$("#fo_"+e).slideToggle("fast");$("#fc_"+e).slideToggle("fast");document.cookie="collapseprefs="+clean.join(",")+"; path=/; expires=Wed, 1 Jan 2020 00:00:00 GMT;"}$.fn.cluetip.defaults.positionBy='mouse';$.fn.cluetip.defaults.showTitle=false;$.fn.cluetip.defaults.hoverIntent.sensitivity=3;$.fn.cluetip.defaults.hoverIntent.interval=300;$.fn.cluetip.defaults.hoverIntent.timeout=300;$(document).ready(function(){var b=$("html").css("font-size");var c="FontSize";var a=0;var d=3;if($.cookie(c)){var e=$.cookie(c);$("html").css({fontSize:e+(e.indexOf("px")!=-1?"":"px")})}else{$.cookie(c,b)}$(".resetFont").click(function(){$(".increaseFont").removeClass("disabled");$(".decreaseFont").removeClass("disabled");$.cookie(c,b);a=0;$("html").css("font-size",b)});$(".increaseFont").click(function(){$(".decreaseFont").removeClass("disabled");if(a<d){var g=$("html").css("font-size");var h=parseFloat(g,10);var f=h*1.2;$("html").css("font-size",f);$.cookie(c,f);a++;if(a==d){$(".increaseFont").addClass("disabled")}}return false});$(".decreaseFont").click(function(){$(".increaseFont").removeClass("disabled");if(a>(-(d))){var g=$("html").css("font-size");var h=parseFloat(g,10);var f=h*0.8;$("html").css("font-size",f);$.cookie(c,f);a--;if(a==(-(d))){$(".decreaseFont").addClass("disabled")}}return false});$("#open").click(function(){$("div#panel").slideDown("slow");$("#toggle a").toggle();return false});$("#close").click(function(){$("div#panel").slideUp("slow");$("#toggle a").toggle();return false});$("a.slidemenu").click(function(){$(this).next("div").slideToggle("fast");return false});$("li a").click(function(){$("div.hidemenu").hide()});$("a.autore_tooltip").cluetip({width:"130px",cluetipClass:"jtip",fx:{open:"fadeIn",openSpeed:"200"}});$("a.post_tooltip").cluetip({width:"420px",fx:{open:"fadeIn",openSpeed:"200"}});$("a.review_tooltip").cluetip({width:"300px",fx:{open:"fadeIn",openSpeed:"200"}});$("b.attach_tooltip").cluetip({width:"315px",cluetipClass:"jtip",fx:{open:"fadeIn",openSpeed:"200"}});$("a.gallery_tooltip").cluetip({width:"200px",positionBy:"bottomTop",cluetipClass:"jtip",fx:{open:"fadeIn",openSpeed:"200"}});$("a.gallerys_tooltip").cluetip({width:"715px",positionBy:"bottomTop",cluetipClass:"gal",fx:{open:"fadeIn",openSpeed:"200"}});$("a.reviews_tooltip").cluetip({width:"515px",positionBy:"bottomTop",cluetipClass:"gal",fx:{open:"fadeIn",openSpeed:"200"}});$("a.quotes_tooltip").cluetip({width:"515px",positionBy:"bottomTop",cluetipClass:"gal",fx:{open:"fadeIn",openSpeed:"200"}});$("a.news_tooltip").cluetip({width:"515px",positionBy:"bottomTop",cluetipClass:"gal",fx:{open:"fadeIn",openSpeed:"200"}});$("a.forum_tooltip").cluetip({width:"515px",positionBy:"bottomTop",cluetipClass:"gal",fx:{open:"fadeIn",openSpeed:"200"}});$("img.help_tooltip").cluetip({width:"400px",positionBy:"bottomTop",fx:{open:"fadeIn",openSpeed:"200"}})});
