function popLocations(){
w=350; h=470;
cities=new Array("<b>Gallery of Sound</b> :: All locations PA","<b>Chester Music Company</b> :: Coatesville, PA ","<b>Young Ones</b> :: Kutztown, PA","<b>Dimple</b> :: All locations Sacramento, CA","<b>FYE</b> :: All locations St.Louis, MO","<b>Vintage Vinyl</b> :: St Louis, MO","<b>Hoodlums</b> :: All locations AZ","<b>Zia</b> :: All locations AZ","<b>Vintage Vinyl</b> :: Fords, NJ","<b>Looney Tunes</b> :: West Babylon, NY","<b>Full Circle</b> :: Blackwood, NJ","<b>FYE</b> :: All locations Cleveland, OH","<b>Ultrasound</b> :: Mentor, OH","<b>Quonset Hut</b> :: Akron, OH","<b>The Exchange</b> :: Medina, OH","<b>The Exchange</b> :: Lakewood, OH","<b>The Exchange</b> :: North Olmsted, OH","<b>FYE</b> :: All locations Detroit, MI","<b>Bullmoose</b> :: All Locations Portland, ME");

winny=window.open("","","width="+w+",height="+h+",left=5,top=5,scrollbars=0");
winny.document.writeln('<html><head><title>breaking benjamin</title><style>b{color:#e2d4c3;}</style></head>');
winny.document.writeln('<body style="font-family:arial,helvetica; font-size:11px; color:#ffffff; background-color:black; margin:0px; padding:0px; border:2px solid #e2d4c3;"><div style="height:100%; padding-left:10px;"><br><b><div align="center">Live EP with Purchase of New CD</div></b><p>');
winny.document.writeln('<b>FOR A VERY LIMITED TIME ONLY</b><br>The following locations will include a FREE Live EP with<br>purchase of the new CD <b>We Are Not Alone</b>.<br><br>The EP includes never before released live recordings of "Medicate", "Water", "Next To Nothing", and "Sugarcoat".<br><br>');
clr="black"; alt="#201F1E";
for(i=0; i<cities.length; i++){
bgcolor=(i%2==0)?alt:clr;
winny.document.writeln('<div style="background-color:'+bgcolor+';">'+cities[i]+'</div>');
}
winny.document.writeln('<br>**Offer is likely to last for 1 week only.<br><div align="right"><a href="javascript:window.close();" style="font-size:10px; color:white; background-color:#201F1E; position:absolute; top:'+(h-16)+'px; left:'+(w-80)+'px;">&nbsp;close window&nbsp;</a></div></div></body></html>');
winny.document.close();
}

function popBanners(){
window.open('popalert.html','benji','left=2,top=2,width=332,height=278,scrollbars=0');
}

function popUp(url, name, popW, popH, scroll) {
	var winLeft = ((screen.width - popW) / 2) - 15;
	var winTop = (screen.height - popH) / 2;
	winProps = 'width=' + popW + ',height=' + popH + ',left=' + winLeft + ',top=' + winTop + ',scrollbars=' + scroll + ',resizable' + ',status=yes';	
	win = window.open(url, name, winProps)
	if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}

function popXingtone(){ window.open('http://209.124.81.117/hwr_bb/index.php','xingtone','left=2,top=2,width=570,height=590,scrollbars=1'); }


function popUp2(url, name, popW, popH, scroll) {
	var winLeft = ((screen.width - popW) / 2) - 15;
	var winTop = (screen.height - popH) / 2;
	winProps = 'width=' + popW + ',height=' + popH + ',left=' + winLeft + ',top=' + winTop + ',scrollbars=' + scroll + ',resizable';	
	win = window.open(url, name, winProps)
	if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}

leftPos=1, topPos=1, popW=1, popH=1, popDimensions = "";
function centerIt(popW,popH,urlToCenter,centeredWinName,otherProperties){
var w = 800, h = 600; if (document.all || document.layers || document.getElementById) {  w = screen.availWidth; h = screen.availHeight; }
leftPos = (w-popW)/2, topPos = (h-popH)/2; popDimensions = 'width='+popW+',height='+popH+',left='+leftPos+',top='+topPos;
if (otherProperties != null){ popDimensions+=otherProperties; }
if (urlToCenter != null){ window.open(urlToCenter,centeredWinName,popDimensions); }
}