
function popupPage(name) {
	
	// functional pages

	if(name == "registration") {
		
		window.open("http://www.heineken.com/usa-hpll/sc/hpll/addupdate.asp", name, "width=660,height=600,scrollbars=yes");
	}

	if(name == "myaccount") {
		
		window.open("http://www.heineken.com/usa-hpll/sc/hpll/signin.asp?ReturnURL=/usa-hpll/sc/hpll/addupdate.asp", name, "width=660,height=600,scrollbars=yes");
	}
	
	if(name == "contactus") {
		
		window.open("http://www.heineken.com/usa-hpll/sc/hpll/contactus.asp", name, "width=475,height=600,scrollbars=yes");
	}
	
	// static content

	if(name == "privacypolicy") {
		
		window.open("http://www.heinekenlight.com/privacy_policy.html", name, "width=475,height=600,scrollbars=yes");
	}

	if(name == "howsecure") {
		
		window.open("http://www.heinekenlight.com/how_secure.html", name, "width=660,height=600,scrollbars=yes");
	}
	
	if(name == "aboutmembership") {
		
		window.open("http://www.heineken.com/usa-hpll/sc/hpll/aboutmembership.asp", name, "width=475,height=600,scrollbars=yes").focus();
	}
	
	// offsite links

	if(name == "enjoyheineken") {
		
		window.open("http://www.enjoyheinekenresponsibly.com/", name, "");
	}

	if(name == "heineken") {
		
		window.open("http://www.heineken.com/", name, "");
	}
}

function popupAd(url, width, height) {
	
	alert(url);
}

function popupScreensaver(url, width, height) {
	
}

function popupWallpaper(url, width, height) {
	
	window.open("images/wallpapers/"+width+"/"+url, "wallpaper");
}
