function pop(sCase) {
	switch(sCase) {
	// trailers
		case "teaser":
			launchPopUpWindow('teaser_popup.html?id=teaser', 'trailers', 630, 497);
			break;
		case "theatrical":
			launchPopUpWindow('theatrical_popup.html?id=trailer', 'trailers', 630, 497);
			break;
		case "tvspot1":
			launchPopUpWindow('tv1_popup.html?id=tvspot1', 'trailers', 630, 497);
			break;
		case "tvspot2":
			launchPopUpWindow('tv2_popup.html?id=tvspot2', 'trailers', 630, 497);
			break;
		case "tvspot3":
			launchPopUpWindow('tv3_popup.html?id=tvspot3', 'trailers', 630, 497);
			break;
		case "tvspot4":
			launchPopUpWindow('tv4_popup.html?id=tvspot4', 'trailers', 630, 497);
			break;
		case "tvspot5":
			launchPopUpWindow('tv5_popup.html?id=tvspot5', 'trailers', 630, 497);
			break;
		case "tvspot6":
			launchPopUpWindow('tv6_popup.html?id=tvspot6', 'trailers', 630, 497);
			break;
		case "wizarding":
			launchPopUpWindow('wizard_webcast.html?id=webcast', 'trailers', 630, 600);
			break;
	// QTVRs
		case "qtvr":
			launchPopUpWindow('qtvr_popup.html', 'qtvr', 630, 497);
			break;
	// games
		case "duel":
			launchPopUpWindow('games/dueldeatheaters/index.html', 'duel_game', 815, 558);
			doTracking('games_duel');
			break;
		case "requirement":
			launchPopUpWindow('games/RoomOfRequirement/index.html', 'room_game', 815, 626);
			break;
		case "thestral_flight":
			launchPopUpWindow('games/thestralflight/index.html', 'thestral_game', 815, 626);
			doTracking('games_thestral');
			break;
	// downloads
		case "wallpaper":
			void(mywin=window.open('wallpaper.html?id=' + pop.arguments[1] + '&width=' + pop.arguments[2], 'wallpaper_poster','width=850,height=650,top=40,left=40,toolbar=no,scrollbars=yes,resizable=yes,menubar=no,status=no,directories=no,location=no'));
			mywin.focus();
			break;
		case "poster":
			void(mywin=window.open('poster.html?id=' + pop.arguments[1], 'poster', 'width=870,height=650,top=40,left=40,toolbar=no,scrollbars=yes,resizable=yes,menubar=no,status=no,directories=no,location=no'));
			mywin.focus();
			break;
		case "buddyicons":
			launchPopUpWindow('buddyicons.html','buddyicons',630,497);
			break;
		case "screensaver":
			var platform = pop.arguments[2];
			platform = platform == 'osc' ? 'osx' : platform;
			lastPopUpWindow = launchPopUpWindow('download.html?theFile=' + pop.arguments[1] + '_' + platform + '.zip', 'download', 770, 335);
			break;
		case "character":
			void(mywin=window.open('character.html?id=' + pop.arguments[1], 'character', 'width=870,height=650,top=40,left=40,toolbar=no,scrollbars=yes,resizable=yes,menubar=no,status=no,directories=no,location=no'));
			mywin.focus();
			break;
	// wishlist
		case "wishlist":
			lastPopUpWindow = launchPopUpWindow('http://harrypotter.warnerbros.com/wishlist', 'wishlist', 781, 626);
			break;
	// soundtrack
		case "soundtrack_buy":
			lastPopUpWindow = launchPopUpWindow('http://www.harrypottersoundtrack.com/', 'soundtrack_buy', 900, 680);
			break;
		case "soundtrack_widget":
			lastPopUpWindow = launchPopUpWindow('http://www.harrypottersoundtrack.com/widget', 'soundtrack_widget', 422, 612);
			break;
	// community section
		case "webmaster":
			void(mywin=window.open('webmaster/index.html'));
			mywin.focus();
			doTracking('webmaster');
			break;
		case "messageBoards":
			void(mywin=window.open('http://boards.harrypotter.warnerbros.com/web/index.jspa'));
			mywin.focus();
			doTracking('messageBoards');
			break;
		case "newsletter":
			launchPopUpWindow('http://harrypotter.warnerbros.com/main/nlsignup/signup.html', 'newsletter', 448, 197);
			mywin.focus();
			doTracking('newsletter');
			break;
	//footer section
		case "reelnews":
			launchPopUpWindow('http://email-warnerbros.com/registration.jsp?title=harrypotter&source=WBTH', 'reel_news', 600, 520);
			break;
		case "other_countries":
			launchPopUpWindow('http://harrypotter.warnerbros.co.uk/countries/countries.html','other_countries',496,500,'',true);
			break;
		case "soundtrack":
			doTracking('soundtrack');
			break;
		
	}
}