mw=null;
function popup(url,scroll){
	if(mw != null && !mw.closed){
		window.mw.close();
	}	

x=900;
y=680;
xresnow = x;
yresnow = y;
if (navigator.appVersion.indexOf("Mac")!=-1 && document.all) {
xresnow-=0;
yresnow-=0;
}
xl = (screen.availWidth/2)-(xresnow/2);
tt = (screen.availHeight/2)-(yresnow/2);
    if (parseFloat(navigator.appVersion)<4.75)
      mw=window.open(url,'popup','left='+xl+',top='+tt+',width='+x+',height='+y+',toolbar=1,status=1,directories=1,location=1,menubar=1,scrollbars=1,resizable=1');
    else {
      mw=window.open(url,'popup','left='+xl+',top='+tt+',width='+x+',height='+y+',toolbar=1,status=1,directories=1,location=1,menubar=1,scrollbars=1,resizable=1');
    }
}

function popupmail(url,scroll){
	url = "http://www.feldentertainment.com/signup/";
	if(mw != null && !mw.closed){
		window.mw.close();
	}	

x=650;
y=660;
xresnow = x;
yresnow = y;
if (navigator.appVersion.indexOf("Mac")!=-1 && document.all) {
xresnow-=0;
yresnow-=0;
}
xl = (screen.availWidth/2)-(xresnow/2);
tt = (screen.availHeight/2)-(yresnow/2);
    if (parseFloat(navigator.appVersion)<4.75)
      mw=window.open(url,'popup','left='+xl+',top='+tt+',width='+x+',height='+y+',toolbar=1,status=1,directories=1,location=1,menubar=1,scrollbars=1,resizable=1');
    else {
      mw=window.open(url,'popup','left='+xl+',top='+tt+',width='+x+',height='+y+',toolbar=1,status=1,directories=1,location=1,menubar=1,scrollbars=1,resizable=1');
    }
}


function popupwp(url,scroll){
	if(mw != null && !mw.closed){
		window.mw.close();
	}	

x=700;
y=550;
xresnow = x;
yresnow = y;
if (navigator.appVersion.indexOf("Mac")!=-1 && document.all) {
xresnow-=0;
yresnow-=0;
}
xl = (screen.availWidth/2)-(xresnow/2);
tt = (screen.availHeight/2)-(yresnow/2);
    if (parseFloat(navigator.appVersion)<4.75)
      mw=window.open(url,'popup','left='+xl+',top='+tt+',width='+x+',height='+y+',toolbar=0,status=0,directories=0,menubar=0,location=0,scrollbars=1,resizable=1');
    else {
      mw=window.open(url,'popup','left='+xl+',top='+tt+',width='+x+',height='+y+',toolbar=0,status=0,directories=0,menubar=0,location=0,scrollbars=1,resizable=1');
    }
}