var mws = new Object();
mws.ad_url = escape('index.php?page=Mobile-Sites');

mws.small_path = 'images/swf/mws-smartsmall.swf';
mws.small_image = escape('images/swf/mws-smartcorner.swf');
mws.big_path = 'images/swf/mws-smartbig.swf';
mws.big_image = escape('images/swf/mobilesites.jpg');

mws.small_width = '100';
mws.small_height = '100';
mws.small_params = 'ico=' + mws.small_image;
mws.big_width = '650';
mws.big_height = '650';
mws.big_params = 'big=' + mws.big_image + '&ad_url=' + mws.ad_url;
function sizeup987(){
	document.getElementById('mwscornerBig').style.top = '0px';
	document.getElementById('mwscornerSmall').style.top = '-1000px';
}
function sizedown987(){
	document.getElementById("mwscornerSmall").style.top = "0px";
	document.getElementById("mwscornerBig").style.top = "-1000px";
}
mws.putObjects = function () {
document.write('<div id="mwscornerSmall" style="position:absolute;width:'+ mws.small_width +'px;height:'+ mws.small_height +'px;z-index:9999;right:0px;top:0px;">');
document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"');
document.write('codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0"');
document.write(' id="mwscornerSmallObject" width="'+mws.small_width+'" height="'+mws.small_height+'">');
document.write(' <param name="allowScriptAccess" value="always"/> ');
document.write(' <param name="movie" value="'+ mws.small_path +'?'+ mws.small_params +'"/>');
document.write(' <param name="wmode" value="transparent" />');
document.write(' <param name="quality" value="high" /> ');
document.write(' <param name="FlashVars" value="'+mws.small_params+'"/>');
document.write('<embed src="'+ mws.small_path + '?' + mws.small_params +'" name="mwscornerSmallObject" wmode="transparent" quality="high" width="'+ mws.small_width +'" height="'+ mws.small_height +'" flashvars="'+ mws.small_params +'" allowscriptaccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>');
document.write('</object></div></script>');
document.write('<div id="mwscornerBig" style="position:absolute;width:'+ mws.big_width +'px;height:'+ mws.big_height +'px;z-index:9999;right:0px;top:0px;">');
document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"');
document.write('codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0"');
document.write(' id="mwscornerBigObject" width="'+ mws.big_width +'" height="'+ mws.big_height +'">');
document.write(' <param name="allowScriptAccess" value="always"/> ');
document.write(' <param name="movie" value="'+ mws.big_path +'?'+ mws.big_params +'"/>');
document.write(' <param name="wmode" value="transparent"/>');
document.write(' <param name="quality" value="high" /> ');
document.write(' <param name="FlashVars" value="'+ mws.big_params +'"/>');
document.write('<embed src="'+ mws.big_path + '?' + mws.big_params +'" id="mwscornerBigEmbed" name="mwscornerBigObject" wmode="transparent" quality="high" width="'+ mws.big_width +'" height="'+ mws.big_height +'" flashvars="'+ mws.big_params +'" swliveconnect="true" allowscriptaccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>');
document.write('</object></div>');
setTimeout('document.getElementById("mwscornerBig").style.top = "-1000px";',1000);
}
mws.putObjects();
