document.write('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" CODEBASE= ID=banner WIDTH="750" HEIGHT="100">');
document.write('<PARAM NAME="movie" VALUE="http://banners.adnet.lt/always_750x100_3.swf?clickTAG=http://www.always.lt"><PARAM NAME="Autostart" VALUE="true"><PARAM NAME="Quality" VALUE="high">');
document.write('<EMBED SRC="http://banners.adnet.lt/always_750x100_3.swf?clickTAG=http://www.always.lt" swLiveConnect=TRUE WIDTH="750" HEIGHT="100" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" QUALITY="high"></EMBED>');
document.write('</OBJECT>');

var pop_width = 600;  //PopUnder Width
var pop_height = 500; //PopUnder Height
var pop_pos_x = 150;  //Distance from the left of the screen
var pop_pos_y = 150;  //Distance from  the top of the screen
var swf_url = "http://banners.adnet.lt/always_game_lt_600x500_6.swf"; // SWF URL
var swf_click_url = "http://www.always.lt"; // Click link (<%%REDIR%%>)
var pp; 
var ps3pmrs = 'scrollbars=no,resize=no,width='+pop_width+',height='+pop_height+',left='+pop_pos_x+',top='+pop_pos_y;
var psclktst = 1;

function ps3clk() {
if(psclktst) {
  pp=window.open('','pp',ps3pmrs);
  if (pp !=null)
   {
     pp.document.write(ps3cnt);
     psclktst = 0;
     window.focus();
   }
  else
   {
     psclktst = 1;
   }
}
}

ps3cnt = '<'+'html><'+'head><'+'title>Always<\/title><\/head>\n' +
	  '<'+'body bottommargin=0 topmargin=0 leftmargin=0 rightmargin=0 style="overflow:hidden">\n';
ps3cnt += '<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"' +
	  ' CODEBASE="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"' +
	  ' ID=banner WIDTH="' + pop_width + '" HEIGHT="' + pop_height + '">' +
	  '	<PARAM NAME="movie" VALUE="' + swf_url + '?clickTAG='+ swf_click_url +'"> ' +
	  '	<PARAM NAME="Autostart" VALUE="true">' +
	  '<EMBED SRC="' + swf_url + '?clickTAG='+ swf_click_url +'"' +
	  ' swLiveConnect=TRUE WIDTH="' + pop_width +'" HEIGHT ="'+ pop_height +'" ' +
	  ' TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">' +
	  '</EMBED>' +
	  '</OBJECT>';
ps3cnt += '<\/body>\n<\/html>';

pp=window.open('','pp',ps3pmrs);
if (pp !=null) {
pp.document.write(ps3cnt);
window.focus();
}
else {
document.onclick=ps3clk;
}
