function popTheAd(){

window.open("http://ng3.ads.warnerbros.com/Archive/wbshop/wbshop_popup.shtml","popup","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=no,width=340,height=300,left=400,top=300");
}
function Popopen(url) {window.open(url, 'bonniepopup', 'height=457,width=357,resizable=no,status=no,scrollbars=no,location=no,menubar=no,toolbar=no,left=30,top=30');}
function Popopen2(url) {window.open(url, 'bonniepopup', 'height=600,width=600,resizable=no,status=no,scrollbars=no,location=no,menubar=no,toolbar=no,left=30,top=30');}
function Popopen3(url) {window.open(url, 'bonniepopup', 'height=475,width=475,resizable=no,status=no,scrollbars=no,location=no,menubar=no,toolbar=no,left=30,top=30');}
function Picopen(url) {window.open(url, 'bonniepopup', 'height=370,width=450,resizable=yes,status=no,scrollbars=no,location=no,menubar=no,toolbar=no,left=30,top=10');}
function Picopen2(url) {window.open(url, 'bonniepopup', 'height=480,width=720,resizable=yes,status=no,scrollbars=no,location=no,menubar=no,toolbar=no,left=30,top=10');}
function Picopen3(url) {window.open(url, 'bonniepopup', 'height=450,width=370,resizable=yes,status=no,scrollbars=no,location=no,menubar=no,toolbar=no,left=30,top=10');}
function Picopen5(url) {window.open(url, 'bonniepopup', 'height=500,width=925,resizable=yes,status=no,scrollbars=no,location=no,menubar=no,toolbar=no,left=30,top=10');}
function Picopen6(url) {window.open(url, 'bonniepopup', 'height=679,width=700,resizable=yes,status=no,scrollbars=yes,location=no,menubar=no,toolbar=no,left=30,top=10');}
function Picopen7(url) {window.open(url, 'bonniepopup', 'height=679,width=785,resizable=yes,status=no,scrollbars=yes,location=no,menubar=no,toolbar=no,left=30,top=10');}
function Vidopen(url) {window.open(url, 'bonniepopup', 'height=415,width=767,resizable=no,status=no,scrollbars=no,location=no,menubar=no,toolbar=no,left=30,top=30');}               
function Thoughtopen(url) {window.open(url, 'bonniepopup', 'height=310,width=360,resizable=no,status=no,scrollbars=no,location=no,menubar=no,toolbar=no,left=200,top=120');}
function Infoopen(url) {window.open(url,'bonniepopup', 'height=500,width=550,resizable=yes,status=no,scrollbars=yes,location=no,menubar=no,toolbar=no,left=100,top=60');}
function Voteopen(url) {window.open(url,'bonniepopup', 'height=250,width=300,resizable=yes,status=no,scrollbars=yes,location=no,menubar=no,toolbar=no,left=100,top=60');}
function Textopen(url) {window.open(url,'bonniepopup', 'resizable=yes,status=yes,scrollbars=yes,location=yes,menubar=yes,toolbar=yes');self.close();}

function replaceContent() {
 
     document.getElementById("ad").innerHTML = "<iframe src='/includes/adref.html' name='adright' width='180' height='640' scrolling='no' frameborder='0'></iframe>"
 
}

var axel = Math.random() + "";

var ord = axel * 1000000000000000000;

<!--
// NOTE: the ord value must be the same for multiple ads on one page
// if the ord value is passed in the query string (ie: http://www.momlogic.com/ads/games/728x90.html?ord=1234567)
// then it should override this one set within this file

// this will be "?ord=1234567"
var QS = location.search;

// now eliminate the ? mark
QS = location.search.substring(1);

// setup array of name/value pairs by splitting via the & character
// note: this results in each array element being a name=value string, so pairs(0) = "ord=1234657"
var pairs = QS.split("&");

// now loop through the array and split to get value
var tmpAry;
for(var i=0; i<pairs.length; i++){
	tmpAry = pairs[i].split("=");	//	tmpAry[0] ord,	tmpAry[1] the value for ord

	if ( tmpAry[0] == 'ord' ) { 
		ord = tmpAry[1];
	}
}
//-->


<!--
function MM_swapImgRestore() { //v3.0
  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_preloadImages() { //v3.0
  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_findObj(n, d) { //v4.01
  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 && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  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];}
}
//-->
