// JavaScript Document
function newwin(varname)
{
window.open(varname,"","height=650,width=440,toolbar=no,scrollbars=yes,addressbar=no")
}

function poptastic(url,wi,he)

{   var newwindow;

    var sorc=url;

	//alert(sorc);

    var wid=wi;

	wid=parseInt(wid)+0;

	var hei=he;

	hei=parseInt(hei)+0;
pos = "center"
	//var myoption = 'toolbar=no status=no menubar=no addressbar=no scrollbars=yes resizable=yes height='+hei+' width='+wid+'left=0, top=0';
if(pos=="center"){LeftPosition=(screen.width)?(screen.width-wid)/2:100;TopPosition=(screen.height)?(screen.height-hei)/2:100;}
else if((pos!="center" && pos!="random") || pos==null){LeftPosition=0;TopPosition=20}
settings='width='+wid+',height='+hei+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=no';

	newwindow=window.open(sorc,'name',settings);
	newwindow.document.write('<html><head><title>Party Rentals</title>');
  newwindow.document.write('</head><body bgcolor="#E3E0E0" topmargin="0" leftmargin="0">');
  newwindow.document.write('<table width=100% height=100% border=0><tr><td align="center"><img src='+sorc+' border=1></td></tr></table>');
  newwindow.document.write('</body></html>');
  newwindow.document.close();
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}