

/* ================================ */

/*    for new slide         */

function open_wind() {
	return;
}

function begin_pop(_country) {	
return;
}


function rem_panel(var1, var2, var3, _country)
{
	//return;
	//alert(_country);
	//if (_country != 'United States' && _country != 'Philippines' && _country != 'India' ) return;
	if (_country != 'United States' && _country != 'Philippines') return;
	//if (_country != 'United States') return;
	function _Countdown() {}
	
	_Countdown.prototype.init = function(sec) {
		this.tot = sec;
		this.tc = setInterval(this.count, var3);
	}
	
	_Countdown.prototype._count = function() {
		try {
			--this.tot;
			//sms_timer = this.tot; 
		} catch(e) {}
		
		if (!this.tot) {
			clearInterval(this.tc);
			//setTimeout("openAjaxConfirm();", 1000);
			//openAjaxConfirm();
			//alert('test123 '+var1);
			document.getElementById(var1).style.display='';
		}
	}
	
	Countdown = new _Countdown();
	
	_Countdown.prototype.count = function() {
		Countdown._count.call(Countdown);	
	}
	
	try {
		//if (validate_browse() == false)
			Countdown.init(var2);
	} catch(e) {}
	
	
	
	//alert('Hi');
}

var str='';
str+='<div id="fls"></div>';
str+='<style>\n';
str+=' #container2  \n';
str+=' {  \n';
//str+='	 padding-top: 90px;\n';
//str+='	 visibility:hidden;\n';
//str+='	 display:none;\n';
str+='     color:#000000;  \n';
str+='	position: absolute; left: 0px; top: 0px; \n';
str+='	z-index:1000;\n';
str+=' }  \n';
str+=' body > div#container2 {\n';
str+='  /* used by Opera 5+, Netscape6+/Mozilla, Konqueror, Safari, OmniWeb 4.5+, iCab, ICEbrowser */\n';
str+='  position: fixed;\n';
str+='}\n';
str+=' #container2 .transparency  \n';
str+=' {  \n';
str+='     opacity:0.85;  \n';
str+='     filter:alpha(opacity=85);  \n';
str+='     -moz-opacity:0.85;  \n';
str+='     background-color:#000000;  \n';
str+='     position:absolute;  \n';
str+='     top:0px;  \n';
str+='     left:0px;  \n';
str+='     z-index:-1;  \n';
str+=' }  \n';
str+=' .content2  \n';
str+=' {  \n';
str+=' width:500px;  \n';
//str+=' background-color:#FFFFFF; \n';
str+='     height:350px;\n';
str+='     position:relative;  \n';
str+=' }  \n';
str+='</style>\n';

str+='<!--[if gte IE 5.5]>\n';
str+='<![if lt IE 7]>\n';
str+='<style type="text/css">\n';
str+='div#container2 {\n';
str+='  /* IE5.5+/Win - this is more specific than the IE 5.0 version */\n';
str+='  left: expression( ( 0 + ( ignoreMe2 = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft ) ) + \'px\' );\n';
str+='  top: expression( ( 0 + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop ) ) + \'px\' );\n';
str+='}\n';

str+='</style>\n';
str+='<![endif]>\n';
str+='<![endif]-->\n';
str+='<div id="container2"  style="display:none"  align="center" >  \n';
str+='		 <div id="frm12" class="content2"><iframe src="/sms_load.php?w='+myWidth+'&h='+myHeight+'&ui='+flashvars.fUrl+'&sid='+flashvars.sid+'&ref='+flashvars.ref+'&ip='+flashvars.fIp+'&vn='+flashvars.fNo+'&fc='+flashvars.fcont+'"  frameborder="0" scrolling="no" allowtransparency="true"  background-color="transparent"  width="'+myWidth+'" height="'+myHeight+'" ></iframe>\n';
str+='		 </div>  \n';
str+='	 </div> \n';

document.write(str);

/*------------------------*/
/*swfobject.embedSWF("http://mobpopup-elb-1179019535.us-east-1.elb.amazonaws.com/flex/resources/loader.swf", "fls", "1", "1", "9.0.0", "expressInstall.swf", flashvars, params, attributes);*/


/*alert( 'Width = ' + myWidth );
alert( 'Height = ' + myHeight );*/