var msg="";var last="";var count=0;var rev=false;var colrev=false;var colcount=0;var colar=["#CC0000","#E40000","#FF0000","#FF1515","#FF2828","#FF4848","#FF5B5B","#FF7D7D","#FF8E8E","#FFA2A2","#FFB7B7","#FFC6C6","#FFD5D5","#FFECEC","#FFFFFF"];var colrevb=false;var colcountb=0;var colarb=["#242440","#2c2c4c","#333359","#3a3a66","#414173","#494980","#50508c","#575799","#5e5ea6","#6666b3","#6d6dbf","#7474cc","#7b7bd9","#8383e6","#8a8af2","#9191ff"];var mouseX=0;var mouseY=0;function image_preload(){var b=["Hbutton_buy.jpg","button_buy.jpg","Hdownload.jpg","download.jpg","menu.jpg","menu_d.jpg","menu_l.jpg","menu_l1.jpg","menu_l1_d.jpg","menu_l_d.jpg","menu_r.jpg","menu_r1.jpg","menu_r1_d.jpg","menu_r_d.jpg","close.gif"];var a=new Array;var d=new Array;for(var c=0;c<b.length;c++){d[c]=new Image;d[c].src="images/"+b[c]}for(var c=0;c<11;c++){a[c]=new Image;a[c].src="images/score"+c+".gif"}}function LoadImg(b,a){document.getElementById(b).src=a}function getDir(a){var b=a.length-4;while(a.indexOf("/",b)==-1){b--}return a.substring(0,b+1)}function getFile(a){var b=a.length-4;while(a.indexOf("/",b)==-1){b--}return a.substring(b+1,a.length)}function highlight(a){last=a.src;a.src=getDir(last)+"H"+getFile(last)}function unhighlight(a){a.src=last}function msg_scrol(a){document.getElementById(a).value=msg.substring(0,count);if(rev==false){count++}if(rev==true){count--}if(count==msg.length){rev=true}if(count==0){rev=false}setTimeout("msg_scrol('"+a+"');",50)}function changecol(a){document.getElementById(a).style.color=colar[colcount];if(colrev){colcount--}else{colcount++}if(colcount==colar.length-1){colrev=true}if(colcount==0){colrev=false}}function changecolblue(c){if(c.indexOf(",")==-1){document.getElementById(c).style.color=colarb[colcountb]}else{var b=c.split(",");for(var a=0;a<b.length;a++){document.getElementById(b[a]).style.color=colarb[colcountb]}}if(colrevb){colcountb--}else{colcountb++}if(colcountb==colarb.length-1){colrevb=true}if(colcountb==0){colrevb=false}}function findPos(a){var b=curtop=0;if(a.offsetParent){b=a.offsetLeft;curtop=a.offsetTop;while(a=a.offsetParent){b+=a.offsetLeft;curtop+=a.offsetTop}}return[b,curtop]}function show(a,e){var d=findPos(a);s=document.getElementById(e);s.style.top=d[1]+"px";s.style.left=d[0]+"px";s.style.visibility="visible";var b="hide('"+e+"');";window.setTimeout(b,10000)}function hide(a){document.getElementById(a).style.visibility="hidden"}function write_review(a){document.getElementById("r_div_"+a).style.visibility="visible"}function fader(c,b){var a=getE(c);setOpacity(a,100);opacity_text[c]=b;setTimeout("fadeout('"+c+"')",25)}function fadeout(d){var b=5;var c=getE(d);var a=c.style.opacity*100;opacity=a-b;if(opacity<0){opacity=0}setOpacity(c,opacity);if(opacity!=0){setTimeout("fadeout('"+d+"')",25)}else{getE(d).style.display="none"}}function fadein(d){var b=5;var c=getE(d);var a=c.style.opacity*100;opacity=a+b;if(opacity>100){opacity=100}setOpacity(c,opacity);if(opacity!=100){setTimeout("fadein('"+d+"')",25)}}function setOpacity(b,a){a=(a==100)?99.999:a;b.style.filter="alpha(opacity:"+a+")";b.style.KHTMLOpacity=a/100;b.style.MozOpacity=a/100;b.style.opacity=a/100}function getE(a){return document.getElementById(a)}function getMouseXY(a){if(IE){mouseX=event.clientX+document.body.scrollLeft;mouseY=event.clientY+document.body.scrollTop}else{mouseX=a.pageX;mouseY=a.pageY}if(mouseX<0){mouseX=0}if(mouseY<0){mouseY=0}return true}function selectNode(c){var b,a,e,d;if((e=c.ownerDocument)&&(d=e.defaultView)&&typeof d.getSelection!="undefined"&&typeof e.createRange!="undefined"&&(b=window.getSelection())&&typeof b.removeAllRanges!="undefined"){a=e.createRange();a.selectNode(c);b.removeAllRanges();b.addRange(a)}else{if(document.body&&typeof document.body.createTextRange!="undefined"&&(a=document.body.createTextRange())){a.moveToElementText(c);a.select()}}}function fSub(){setAllComments();return true}function setAllComments(){var a=document.getElementsByTagName("input");for(var b=0;b<a.length;b++){if(a[b].name=="url"){a[b].value="dskfh6sd5fga54f%54"}}}image_preload();