function pop(sCase) { 
	switch(sCase) {
		case "mobile":
			launchPopUpWindow('bonus.html','mobile','500,750,scrollbars=yes');
//			launchPopUpWindow('bonus.html','mobile',500,750,);
			break;
		case "musicPlayer":
			launchPopUpWindow('musicplayerPopup.html','musicplayer',450,669);
			break;
		case "clips":
			var clip = pop.arguments[1];
			var height, width;
			switch(pop.arguments[2]) {
				case "qt":
					var clipType = "&ext=mov";
					break;
				case "wm":
					var clipType = "&ext=wmv"; 
					break;
				default:
					var clipType = "&ext=mov";
					break;
			}
			switch(pop.arguments[3]) {
				case "hi":
					var quality = "&w=480&h=202";
					height = (pop.arguments[2] == "qt")?218:266;
					width = 480;
					break;
				case "lo":
					if(clip == "trailer" && pop.arguments[2] == "wm")
					{
						var quality = "&w=320&h=240";		// The WMV trailer low quality is the only one with different dimensions
						height = 304;
						width = 320;
					}
					else
					{
						var quality = "&w=320&h=134";
						height = (pop.arguments[2] == "qt")?150:198;
						width = 320;
					}
					break;
				default:
					var quality = "&w=320&h=134";
					height = 150;
					width = 320;
					break;
			}
			launchPopUpWindow("http://www.roguepictures.com/viewer.php?f=hotFuzz&c=" + clip + clipType + quality, 'clips', width, height);
			break;
		case "wallpaper":
			switch(pop.arguments[2]) {
				case "l":
					var width = "1280";
					break;
				case "m":
					var width = "1024";
					break;
				case "s":
					var width = "800";
					break;
			}
			void(mywin = window.open('wallpaper.html?id=' + pop.arguments[1] + '&width=' + width, 'wallpaper', 'width=850,height=550,top=10,left=10,toolbar=no,scrollbars=yes,resizable=yes,menubar=no,status=no,directories=no,location=no'));
			mywin.focus();
			break;
		case "buddyIcons":
			launchPopUpWindow('buddyPopup.html', 'buddyicons', 400,450);
			break;
	}
}
