var strMustConnectToInternet = "The 'Slide In' option will only work with relative URLs\nin the 'Show this webpage...' option or in a Popup Rotator.\nWhen used with a full URL (http://www.....) it will not\nfunction correctly.";
var win;
var wthreec=(document.getElementById)? true: false;
var ie5=(wthreec && document.all)? true : false;
var ns6=(wthreec && (navigator.appName=="Netscape"))? true: false;
var end_top=0;
var end_left=0;
var shad_width=4;
var gSlideOut = false;
var gSlideIn = false;
currIDb=null;
xoff=0;
yoff=0;
currRS=null;
rsxoff=0;
rsyoff=0;
oldac=null;
newac=null;
zdx=1;
mx=0;
my=0;
var tmpW = 4;
var tmpH = 10;
var shad_w = shad_width;
var gNomaxmin;
var gdeltaBorderSize;
var idlist=new Array();
idlist.btns=new Array();
idlist.btns[0]=new Image();
idlist.btns[0].src="min.gif";
idlist.btns[1]=new Image();
idlist.btns[1].src="max.gif";
idlist.btns[2]=new Image();
idlist.btns[2].src="close.gif";
idlist.btns[3]=new Image();
idlist.btns[3].src="resize.gif";
function setCookie_1139916639656(name, value, expires, path, domain, secure) {
	var curCookie = name + "=" + escape(value) +((expires) ? "; expires=" + expires.toGMTString() : "") +((path) ? "; path=" + path : "") +((domain) ? "; domain=" + domain : "") +((secure) ? "; secure" : "");
	document.cookie = curCookie;}
function getCookie_1139916639656(name) {
	var prefix = name + "=";
	var cookieStartIndex = document.cookie.indexOf(prefix);
	if (cookieStartIndex == -1)return null;
	var cookieEndIndex = document.cookie.indexOf(";", cookieStartIndex + prefix.length);
	if (cookieEndIndex == -1)cookieEndIndex = document.cookie.length;
	return unescape(document.cookie.substring(cookieStartIndex + prefix.length, cookieEndIndex));}
function deleteCookie_1139916639656(name, path, domain) {
	if ( getCookie_1139916639656( name ) )     {
		var _exp_ = new Date ( );
		var _iExpT_ = _exp_.getTime ( ) - 1;
		_exp_.setTime ( _iExpT_ );
		document.cookie = name + "=" + ( path ? "; path=" + path : "") + ( domain ? "; domain=" + domain : "") + "; expires=" + _exp_.toGMTString();     } }
function getCookiesWork_1139916639656( ) {
	var d1 = new Date ( );
	var v;
	v = d1.getTime ( );
	v = v.toString ( );
	d1.setTime ( d1.getTime ( ) + 10000 );
	setCookie_1139916639656( "SG_checkcookiework", v, d1, "/" );
	return getCookie_1139916639656( "SG_checkcookiework" ) == v; }
function truebody_1139916639656(){
	return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body}
function hidebox_1139916639656(id){
	if (ie5) {
	if ((document.getElementById(id+'_b'))&&(document.getElementById(id+'_s'))) {
		document.getElementById(id+'_b').removeNode(true);
		document.getElementById(id+'_s').style.display="none";
		document.getElementById(id+'_s').removeNode(true);}}
		else {document.getElementById(id+'_b').style.visibility='hidden';
		document.getElementById(id+'_s').style.visibility='hidden';
		document.getElementById(id+'_t').style.visibility='hidden';
		document.getElementById(id+'_c').style.visibility='hidden';
		document.getElementById(id+'_rs').style.visibility='hidden';
		document.getElementById(id+'_btt').style.visibility='hidden';}
	window.document.body.onscroll='';}
function showbox_1139916639656(id,l_ok,t_ok,l_smid,t_smid){
	document.getElementById(id+'_b').style.display='';
	document.getElementById(id+'_s').style.display='';}
function minimize(){
	if(wthreec){
		this.IDS[0].style.height=(ie5)? '26px':'24px';
		this.IDS[3].style.height='26px';
		this.IDS[2].style.display='none';
		this.IDS[4].style.display='none';
		setTimeout('ns6bugfix()',100);}}
function restore(){
	if(wthreec){
		var h=this.IDS[10];
		this.IDS[0].style.height=h+'px';
		this.IDS[3].style.height=(ie5)? h+'px':h+2+'px';
		this.IDS[2].style.display='block';
		this.IDS[4].style.display='block';
		setTimeout('ns6bugfix()',100);}}
function ns6bugfix(){
	self.resizeBy(0,1);
	self.resizeBy(0,-1);}
function trackmouse(evt){
	mx=(ie5)?event.clientX+truebody_1139916639656().scrollLeft:evt.pageX;
	my=(ie5)?event.clientY+truebody_1139916639656().scrollTop:evt.pageY;
	if(!ns6)movepopup_1139916639656();
	if((currIDb!=null)||(currRS!=null))return false;}
function movepopup_1139916639656(){
	if((currIDb!=null)&&wthreec){
		var x=mx+xoff;
		var y=my+yoff;
		currIDb.style.left=x+'px';
		currIDs.style.left=x+shad_w+'px';
		currIDb.style.top=y+'px';
		currIDs.style.top=y+shad_w+'px';}
		if((currRS!=null)&&wthreec){
			var rx=mx+rsxoff;
			var ry=my+rsyoff;
			var c=currRS;
			c.style.left=Math.max(rx,((ie5)?88:92))+'px';
			c.style.top=Math.max(ry,((ie5)?68:72))+'px';
			if (gdeltaBorderSize==-1) {
				var tmp_out_shad = 1;}
				else {
					var tmp_out_shad = 0;}
			c.IDS[0].style.width=Math.max(rx-tmpW+((ie5)?12:9),100-tmpW)-tmp_out_shad*2+'px';
			c.IDS[0].style.height=Math.max(ry-tmpH+((ie5)?12:7),80-tmpH)-tmp_out_shad*3+'px';
			c.IDS[1].style.width=Math.max(rx+1+((ie5)?4:3),((ns6)?95:92))+'px';
			c.IDS[4].style.left=parseInt(c.IDS[1].style.width)-8+'px';
			c.IDS[4].style.top=parseInt(c.IDS[0].style.height)-((ie5)?12:11)+'px';
			c.IDS[4].style.zIndex=1000;
			if (gNomaxmin) {c.IDS[5].style.left=parseInt(c.IDS[1].style.width)-16-2+'px';}
			else{c.IDS[5].style.left=parseInt(c.IDS[1].style.width)-48-2+'px';}
			c.IDS[3].style.width=Math.max(rx-tmpW+((ie5)?12:10),((ie5)?100:102)-tmpW)-tmp_out_shad*2+'px';
			c.IDS[3].style.height=Math.max(ry-tmpH+((ie5)?12:8),((ie5)?80:84)-tmpH)-tmp_out_shad*3+'px';
			c.IDS[2].style.width=Math.max(rx-((ie5)?-4:4),((ie5)?92:87))-2*gdeltaBorderSize+'px';
			c.IDS[2].style.height=Math.max(ry-((ie5)?24:28),44)-2*gdeltaBorderSize+'px';
			c.IDS[10]=parseInt(c.IDS[0].style.height);}}
function startRS(evt){
	var ex=(ie5)?event.clientX+truebody_1139916639656().scrollLeft:evt.pageX;
	var ey=(ie5)?event.clientY+truebody_1139916639656().scrollTop:evt.pageY;
	rsxoff=parseInt(this.style.left)-ex;
	rsyoff=parseInt(this.style.top)-ey;currRS=this;
	if(ns6)this.IDS[2].style.overflow='hidden';
	return false;}
function stopdrag_1139916639656(id){
	currIDb=null;
	ns6bugfix();
	end_top = document.getElementById(id+'_b').style.top;
	end_top = parseInt(end_top.substring(0,end_top.length-2))-truebody_1139916639656().scrollTop;
	end_left = document.getElementById(id+'_b').style.left;
	end_left = parseInt(end_left.substring(0,end_left.length-2))-truebody_1139916639656().scrollLeft;}
function grab_id(evt){
	var ex=(ie5)?event.clientX+truebody_1139916639656().scrollLeft:evt.pageX;
	var ey=(ie5)?event.clientY+truebody_1139916639656().scrollTop:evt.pageY;
	xoff=parseInt(this.IDS[0].style.left)-ex;
	yoff=parseInt(this.IDS[0].style.top)-ey;
	currIDb=this.IDS[0];
	currIDs=this.IDS[3];
	return false;}
function moveOnScrool_1139916639656(id,evt){
	if(wthreec){
		var ey = (ie5)?end_top+truebody_1139916639656().scrollTop:evt.pageY;
		var ex = (ie5)?end_left+truebody_1139916639656().scrollLeft:evt.pageX;
		document.getElementById(id+'_b').style.top = ey+'px';
		document.getElementById(id+'_s').style.top = ey+shad_w+'px';
		document.getElementById(id+'_b').style.left = ex+'px';
		document.getElementById(id+'_s').style.left = ex+shad_w+'px';}}
function subBox_1139916639656(x,y,w,h,bgc,id){
	var v=document.createElement('div');
	v.setAttribute('id',id);
	v.style.position='absolute';
	v.style.left=x+'px';
	v.style.top=y+'px';
	v.style.width=w+'px';
	v.style.height=h+'px';
	v.style.backgroundColor=bgc;
	v.style.visibility='visible';
	v.style.padding='0px 0px 0px 0px';
	return v;}
function createpopup_1139916639656(buts,up_under,h,w,full_scr,t,l,pos,freq,freq_days,tbbg_c,tbf_st,tbf_f,tbf_c,tbf_si,cbg_c,cbg_im,bord_c,shad_c,scroll_c,isdrag,isresize,tb_text,content_text,cid,from_file,file_name,tb,lb,db,sbs,mb,sb,slidein,slideFrom,slideout,slideTo,createR,noshadows,autoscroll,nomaxmin,defSend,autoclose,addClickLink,ClickBankUserName,addCodeFromCntDwn,noclose,borderS){
	var str_resize = "yes";
	gSlideIn = slidein;
	gSlideOut = slideout;
	transitionOut = slideTo;
	transition = slideFrom;
	shad_w = shad_width;
	nomaxmin = true;
	str_resize = "no";
	gNomaxmin = nomaxmin;
	var str_cancel = "hidebox_1139916639656('"+cid+"')";
	str_OK = "gSlideOut=false;window.setTimeout(\"hidebox_1139916639656('"+cid+"');\",3000);";
	var str_def_close = "\<script\>function DefaultClose(){try{window.setTimeout('close();',1000);}catch(ex){;}finally{window.setTimeout('DefaultClose();',1000);}}\<\/script\>";
	content_text = content_text+str_def_close;
	x=l;
	y=t;
	w=Math.max(w,120);
	h=Math.max(h,80);
	var wH=document.body.clientHeight;
	var wW=document.body.clientWidth;
	var tmp_wfr=0;
	var tmp_extended_zero = 0;
	var s_top=document.all? document.body.scrollTop : window.pageYOffset;
	var userCBName = escape(ClickBankUserName);
	if (userCBName=='') userCBName = "bizzydays";
	y=s_top+t;
	x=l;
	end_top = y-s_top;
	end_left = x;
	var strTbodyB = /<TBODY>/g;
	var strTbodyE = /<\/TBODY>/g;
	var strBr = /<br>/g;
	content_text = content_text.replace(strTbodyB,"");
	content_text = content_text.replace(strTbodyE,"");
	content_text = content_text.replace(strBr,"");
	var rdiv=new subBox_1139916639656(w-tmpW-((ie5)?12:11),h-tmpH-((ie5)?12:11),7,7,'',cid+'_rs');
	var tw,th;
	tw=w;
	th=h;
	var tmp_out_shad_delta=0;
	var shadow=new subBox_1139916639656(x+shad_w,y+shad_w,tw-tmpW-2*tmp_out_shad_delta,th-tmpH-3*tmp_out_shad_delta,shad_c,cid+'_s');
	shadow.style.filter="alpha(opacity=50)";
	shadow.style.zIndex=++zdx;
	if (ie5) {
		var outerdiv=new subBox_1139916639656(x,y,w-tmpW-2*tmp_out_shad_delta,h-tmpH-3*tmp_out_shad_delta,bord_c,cid+'_b');}
		else {
			var outerdiv=new subBox_1139916639656(x,y,w-tmpW-1-2*tmp_out_shad_delta,h-tmpH-1-3*tmp_out_shad_delta,bord_c,cid+'_b');}
	outerdiv.style.borderStyle="outset";
	outerdiv.style.borderWidth="2px";
	outerdiv.style.borderColor="DarkBlue";
	outerdiv.style.zIndex=1000;
	tw=(ie5)?w-5:w-5;
	th=(ie5)?h+4:h-4;
	var titlebar=new subBox_1139916639656(0,1,tw+1,20,tbbg_c,cid+'_t');
	titlebar.style.overflow="hidden";
	titlebar.style.cursor="default";
	var str_close = '<img src="close.gif" width="16" height="16" id="'+cid+'_cls">';
	var tmp_noclose_w = 16;
	var str_maxmin = '<span id="'+cid+'_btt" style="position:absolute; width:48px; height:16px; left:'+(tw-(32+tmp_noclose_w)-tmp_out_shad_delta)+'px; top:2px;"><img src="min.gif" width=16 height=16 id="'+cid+'_min"><img src="max.gif" width=16 height=16  id="'+cid+'_max">';
	str_maxmin = '<span id="'+cid+'_btt" style="position:absolute; width:16px; height:16px; left:'+(tw-tmp_noclose_w-tmp_out_shad_delta)+'px; top:2px;">';
	titlebar.innerHTML='<span style="position:absolute; left:3px; top:1px; font:'+tbf_si+' '+tbf_f+'; '+tbf_st+' color:'+tbf_c+'; height:18px; overflow:hidden; clip-height:16px;">'+tb_text+'</span>'+str_maxmin+str_close+'</span>';
	tw=(ie5)?w-8:w-14;
	th=(ie5)?h-36:h-36;
	var tmp_bordersize = 0;
	gdeltaBorderSize = tmp_bordersize;
	var content_x, content_y;
	if ((ie5)||(borderS==0)) {content_x=-1;content_y=22;}
	else {content_x=1;content_y=23;}
	content_x=content_x+tmp_bordersize;
	content_y=content_y+tmp_bordersize;
	var content=new subBox_1139916639656(content_x,content_y,tw-2*tmp_bordersize,th-2*tmp_bordersize,cbg_c,cid+'_c');
	content.style.borderColor=cbg_c;
	content.style.borderWidth="1px";
	content.style.overflow="auto";
	content.style.padding="0px 2px 0px 4px";
	content.style.scrollbarBaseColor=scroll_c;
	content.innerHTML=content_text;
	outerdiv.appendChild(titlebar);
	outerdiv.appendChild(content);
	outerdiv.appendChild(rdiv);
	document.body.appendChild(shadow);
	document.body.appendChild(outerdiv);
	var IDS=new Array();
	IDS[0]=document.getElementById(cid+'_b');
	IDS[1]=document.getElementById(cid+'_t');
	IDS[2]=document.getElementById(cid+'_c');
	IDS[3]=document.getElementById(cid+'_s');
	IDS[4]=document.getElementById(cid+'_rs');
	IDS[5]=document.getElementById(cid+'_btt');
	IDS[6]="";
	IDS[7]="";
	IDS[8]=document.getElementById(cid+'_cls');
	IDS[9]=cid;
	IDS[10]=h-tmpH;
	this.IDb=IDS[0];
	this.IDb.IDS=IDS;
	this.IDt=IDS[1];
	this.IDt.IDS=IDS;
	this.IDc=IDS[2];
	this.IDc.IDS=IDS;
	this.IDs=IDS[3];
	this.IDs.IDS=IDS;
	this.IDrs=IDS[4];
	this.IDrs.IDS=IDS;
	this.IDbtt=IDS[5];
	this.IDbtt.IDS=IDS;
	this.IDcls=IDS[8];
	this.IDcls.IDS=IDS;
	this.IDb.activecolor=tbbg_c;
	this.IDb.inactivecolor=scroll_c;
	if(oldac!=null)oldac.IDS[1].style.backgroundColor=oldac.inactivecolor;
	oldac=this.IDb;
	this.IDcls.onclick=new Function("hidebox_1139916639656('"+cid+"');");
	window.document.body.onscroll=new Function("moveOnScrool_1139916639656('"+cid+"');");
	this.IDb.onmousedown=function(){
		if(oldac!=null){
			oldac.IDS[1].style.backgroundColor=oldac.inactivecolor;}
		oldac=this;
		this.IDS[1].style.backgroundColor=this.activecolor;
		this.IDS[3].style.zIndex=++zdx;
		this.style.zIndex=1000;};
	showbox_1139916639656(cid,x,y,-w,y);}
	if(ns6)setInterval('movepopup_1139916639656()',40);
	document.onmousemove=trackmouse;
	document.onmouseup=new Function("currRS=null");
function ShowWin_1139916639656(){
if ( getCookiesWork_1139916639656( ) )
if (!(getCookie_1139916639656('cookPopUp1139916639656') == 'jPopup')) {
new createpopup_1139916639656(true,1,400,350,false,150,200,0,2,0,'DarkBlue','font-weight:bold;','Verdana','White','10pt','','','White','Gray','DarkBlue',true,false,'Безплатен бюлетин','<form action="subscribe.php" method="post" name="SubscribeForm" id="SubscribeForm"><input name = "NotChecked" type="hidden" id="NotChecked" value = "Yes"><table style="width:99.8%; margin:0px; padding:0px; border:none;"><tr><td colspan="2" style="background-color:#003366; height:16px; margin:0px; padding:4px 0px;" valign="middle"><p style="text-align:center; font-size:16px; line-height:24px; color:#FFFF66; font-weight:bold; padding:0; margin:0;">БЕЗПЛАТНО!!!</p></td></tr><tr><td colspan="2"><div style="text-align:center; color:#003366; font-weight:bold; font-size:15px;"><strong>Абонирайте се за безплатния бюлетин &quot;Стани богат, но от Интернет!&quot;!</strong></div></td></tr><tr><td colspan="2" class="style7"><div style="text-align:center; font-size:14px;"><strong>Запознайте се с една изумителна стратегия за невероятни печалби от Мрежата.</strong></div></td></tr><tr><td colspan="2">&nbsp;</td></tr><tr><td width="46%" align="right"><span style="font-size:13px; ">Име:</span></td><td width="52%" align="left"><div align="left"><input name="firstname" type="text" class="edittext" id="firstname" size="20"></div></td></tr><tr><td align="right"><span style="font-size:13px; ">Фамилия:</span></td><td align="left"><div align="left"><input name="lastname" type="text" class="edittext" id="lastname" size="20"></div></td></tr><tr><td align="right"><span style="font-size:13px; ">E-mail:</span></td><td align="left"><div align="left"><input name="email" type="text" class="edittext" id="email" size="20"></div></td></tr><tr><td colspan="2">&nbsp;</td></tr><tr><td colspan="2"><div style="text-align:center; font-weight:bold;"><input name="subscribe" type="submit" class="buttontext" id="subscribe" value="    Да! Абонирайте ме!    "></div></td></tr></table></form>','Div1139907986468',false,'',false,false,false,false,false,false,false,1,false,1,false,false,true,true,true,false,true,'',false,false,1,7,7);
}
var s = new Date();
var s1 = new Date ( );  s1.setTime ( s.getTime ( ) + 10 * 365 * 24 * 60 * 60 * 1000 );
setCookie_1139916639656('cookPopUp1139916639656','jPopup',s1,'/');
}


window.setTimeout("ShowWin_1139916639656();",8000);