//Launch for FlashKit games
function launch(url,type) {
		// type 1 = 640 x 480 screen
		// type 2 = 800 x 600 screen
		// type 3 = 1024 x 768 screen
		// type 4 = 1280 x 960 screen
		// url = launcher code to launch game
		var options = "toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizeable=0,top=0,left=0,";
		switch(type){
			case 1:
				var width = 631;
				var height = 422; 
				break;
			case 2:
				width = 791;
				height = 542; 
				break;
			case 3:
				width = 1015;
				height = 710; 
				break;
			case 4:
				width = 1271;
				height = 910; 
				break;
			default:
				width = 791;
				height = 542; 
				break;				
			}
		options = options + "width=" + width + ",height=" + height
		window.open( url ,"Arcade",options)
	}
