function SendPage(url){window.open(url,"pop","width=640,height=400,toolbars=0,scrollbars=1")}
defaultStatus='BG-Pro.com ~ разцъкваш го с кеф!';function movein(which,html){which.style.background='#F6F6F6'}
function moveout(which){which.style.background='#FFFFFF'}
function gamein(which,html){which.style.background='#F6F6F6'}
function gameout(which){which.style.background='#FBFCFB'}
function hidestatus(){window.status=''
return true}
if(document.layers)
document.captureEvents(Event.MOUSEOVER|Event.MOUSEOUT)
document.onmouseover=hidestatus
document.onmouseout=hidestatus
var homepg=false;var vdomain='http://www.bg-pro.com/';function MM_preloadImages(){var d=document;if(d.images){if(!d.MM_p)d.MM_p=new Array();var i,j=d.MM_p.length,a=MM_preloadImages.arguments;for(i=0;i<a.length;i++)
if(a[i].indexOf("#")!=0){d.MM_p[j]=new Image;d.MM_p[j++].src=a[i];}}}
function MM_swapImgRestore(){var i,x,a=document.MM_sr;for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++)x.src=x.oSrc;}
function MM_findObj(n,d){var p,i,x;if(!d)d=document;if((p=n.indexOf("?"))>0&&parent.frames.length){d=parent.frames[n.substring(p+1)].document;n=n.substring(0,p);}
if(!(x=d[n])&&d.all)x=d.all[n];for(i=0;!x&&i<d.forms.length;i++)x=d.forms[i][n];for(i=0;!x&&d.layers&&i<d.layers.length;i++)x=MM_findObj(n,d.layers[i].document);if(!x&&document.getElementById)x=document.getElementById(n);return x;}
function MM_swapImage(){var i,j=0,x,a=MM_swapImage.arguments;document.MM_sr=new Array;for(i=0;i<(a.length-2);i+=3)
if((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x;if(!x.oSrc)x.oSrc=x.src;x.src=a[i+2];}}
function MM_reloadPage(init){if(init==true)with(navigator){if((appName=="Netscape")&&(parseInt(appVersion)==4)){document.MM_pgW=innerWidth;document.MM_pgH=innerHeight;onresize=MM_reloadPage;}}
else if(innerWidth!=document.MM_pgW||innerHeight!=document.MM_pgH)location.reload();}
MM_reloadPage(true);function MM_openBrWindow(theURL,winName,features){if(IsPopupBlocker()){alert("To view this page please disable 'popup block' ");}else{window.open(theURL,winName,features+",top=5,left=5");}}
function IsPopupBlocker(){var oWin=window.open("","popupblockertest","width=100,height=50,top=5000,left=5000");if(oWin==null||typeof(oWin)=="undefined"){return true;}
else{oWin.close();return false;}}
function showMoreAnything(blocknum,isOpen){hid=('hide'+(blocknum));unhid=('click'+(blocknum));if(document.getElementById){if(document.getElementById(hid).style.display){if(isOpen!=0){document.getElementById(hid).style.display="block";document.getElementById(unhid).style.display="none";}else{document.getElementById(hid).style.display="none";document.getElementById(unhid).style.display="block";}}else{location.href=isOpen;return true;}}else{location.href=isOpen;return true;}}
function Window_Open(windowName,URL,targetName,windowWidth,windowHeight,windowFeatures){str='width='+windowWidth+',height='+windowHeight;str=str+",";str=str+"left="+(screen.width/2-windowWidth/2)+",top="+(screen.height/2-windowHeight/2-40);if(windowFeatures!=null)
str=str+",";windowFeatures=str+windowFeatures;eval(windowName+"=window.open('"+URL+"','"+targetName+"','"+windowFeatures+"')");}
function PRWinOpen(windowName,URL,targetName,windowWidth,windowHeight,windowFeatures){str='width='+windowWidth+',height='+windowHeight;str=str+",";str=str+"left="+(screen.width/2-windowWidth/2)+",top="+(screen.height/2-windowHeight/2-40);if(windowFeatures!=null)
str=str+",";windowFeatures=str+windowFeatures;eval(windowName+"=window.open('"+URL+"','"+targetName+"','"+windowFeatures+"')");}
var bubbleImagePath='images/bg.png';if(typeof Array.prototype.push!="function"){Array.prototype.push=ArrayPush;function ArrayPush(_1){this[this.length]=_1;}}
function WSR_getElementsByClassName(_2,_3,_4){var _5=(_3=="*"&&_2.all)?_2.all:_2.getElementsByTagName(_3);var _6=new Array();_4=_4.replace(/\-/g,"\\-");var _7=new RegExp("(^|\\s)"+_4+"(\\s|$)");var _8;for(var i=0;i<_5.length;i++){_8=_5[i];if(_7.test(_8.className)){_6.push(_8);}}
return(_6);}
function bindBubbles(e){lbActions=WSR_getElementsByClassName(document,"a","previewlink");for(i=0;i<lbActions.length;i++){if(window.addEventListener){lbActions[i].addEventListener("mouseover",attachBubble,false);lbActions[i].addEventListener("mouseout",detachBubble,false);}else{lbActions[i].attachEvent("onmouseover",attachBubble);lbActions[i].attachEvent("onmouseout",detachBubble);}}}
function attachBubble(_b){var _c;if(_b["srcElement"]){_c=_b["srcElement"];}else{_c=_b["target"];}
var _d=_c.href;var _e=findPos(_c)[0]-235;var _f=findPos(_c)[1]+10;var _10=document.createElement("div");_10.className="previewbubble";_10.setAttribute("style","text-align: center; z-index: 99999; position: absolute; top: "+_f+"px ; left: "+_e+"px ; background: url("+bubbleImagePath+") no-repeat; width: 240px; height: 190px; padding: 0; margin: 0;");_10.style.width="240px";_10.style.position="absolute";_10.style.top=_f;_10.style.zIndex=99999;_10.style.left=_e;_10.style.textAlign="left";_10.style.height="190px";_10.style.paddingTop="0";_10.style.paddingLeft="0";_10.style.paddingBottom="0";_10.style.paddingRight="0";_10.style.marginTop="0";_10.style.marginLeft="0";_10.style.marginBottom="0";_10.style.marginRight="0";_10.style.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+bubbleImagePath+"',sizingMethod='image')";var img=document.createElement("img");img.setAttribute("style","margin: auto; padding: 0; margin-left: 15px; margin-top: 27px;  border: 0");img.style.paddingTop="0";img.style.paddingLeft="0";img.style.paddingBottom="0";img.style.paddingRight="0";img.style.margin="auto";img.style.marginTop="27px";img.style.marginLeft="15px";img.style.marginBottom="0";img.style.marginRight="0";img.style.borderTop="0";img.style.borderLeft="0";img.style.borderBottom="0";img.style.borderRight="0";img.setAttribute("src","http://images.websnapr.com/?url="+_d);img.setAttribute("width",202);img.setAttribute("height",152);img.setAttribute("alt","Snapshot");_10.appendChild(img);document.getElementsByTagName("body")[0].appendChild(_10);}
function detachBubble(_12){lbActions=WSR_getElementsByClassName(document,"div","previewbubble");for(i=0;i<lbActions.length;i++){lbActions[i].parentNode.removeChild(lbActions[i]);}}
if(window.addEventListener){addEventListener("load",bindBubbles,false);}else{attachEvent("onload",bindBubbles);}
function findPos(obj){var _14=curtop=0;if(obj.offsetParent){_14=obj.offsetLeft;curtop=obj.offsetTop;while(obj=obj.offsetParent){_14+=obj.offsetLeft;curtop+=obj.offsetTop;}}
return[_14,curtop];}