

function openWin(url,name,w,h,scrollbars,resizable){
if(w==undefined && h==undefined && scrollbars==undefined && resizable==undefined){
	var w = window.open(url,name);
	w.focus();
} else {
	var w = window.open(url,name,"WIDTH="+w+",HEIGHT="+h+",scrollbars="+scrollbars+",menubar=no,titlebar=no,status=no,toolbar=no,resizable="+resizable);
	w.focus();
}
}

function openDates(){
	openWin("dates.html","dates",400,400,1,0);
}
function openShopItem(p){
	openWin(p,"shopItem",300,400,0,1);
}

function openPress(){
	openWin("press.html","press",400,500,1,1);
}

function openClubReviews(){
	openWin("clubReviews.html","reviews",400,500,1,0);
}

function openMyspace(){
	openWin("http://www.myspace.com/bastardbattybass","myspace");
}
function openFacebook(){
	openWin("http://www.facebook.com/groups.php#/group.php?gid=7664733034","facebook");
}

function openMP3(path){
	if(path!=undefined){
		openWin(path,'player',400,300,0,0);
	}
}

function openRadio(){
	openWin("/radio","radio",400,100,0,0);
}

function pageLoad(){
	openWin("subscribe.html","eflyer",400,350,1,1);
	//openRadio();
}
