// openMe creates a window with a set name, location, and size
function openMe(winURL,winName) {
	var width = 0;
	var height = 0;
		
	switch (winName){
		case "Survey":
			width = 602; height = 497;
			break;
		case "SpecialInstruction":
			width = 602; height = 497;
			break;
		case "shipping":
			width = 400; height = 500;
			break;
		case "handling":
			width = 620; height = 500;
			break;
		case "sizeinfo":
			width = 350; height = 170;
			break;
		case "enlargepic":
			width = 350; height = 230;
			break;
		case "backorder":
			width = 640; height = 500;
			break;
		case "MoreInfo":
			width = 400; height = 430;
			break;	
		case "AnotherView":
			width = 400; height = 430;
			break;
		case "AlternateViews":
			width = 640; height = 445;
			break;	
		case "CustomerReviews":
			width = 500; height = 430;
			break;		
	}
	
	//only launch window if we've set a width and height
	if (width > 0 && height > 0){
		launchWin(winName, winURL, width, height);
	}
}

function launchWin(winName, winURL, width, height){
	var ieIncrement = ((navigator.appName+"").indexOf("Netscape") == -1)? 15:0;
	eval(winName+"=window.open('"+ winURL +"','"+ winName +"','resizable=yes,scrollbars=yes,width="+ (width + ieIncrement) +",height="+ (height + ieIncrement) +",top=5,left=75')");
	eval("window."+ winName +".focus()");	
}
