// JavaScript Document

//Function to Pop-Up the Mold Examples window
function openMold(URLJump) { 
//below allows the java to determine the screen width and height
//the -### at the end of each is half the size of the window
//below is to align to top
	var top = 0;
//below is to center the window vertical
//	var top = (screen.height/2)-250;
//below is to center the window horizontal
	var left = (screen.width/2)-250;
//define the features of the window
	var moldFeatures =  " scrollbars=yes,resizable=yes,toolbar=yes,location=yes,width=500,height=500,top=" + top + ",left=" + left;
//open the window
	var windowName = "Mold";
	window.open(URLJump,windowName,moldFeatures);
}

//Function to Pop-Up the Coupon window
function openCoupon(URLJump) { 
//below allows the java to determine the screen width and height
//the -### at the end of each is half the size of the window
//below is to align to top
	var top = 0;
//below is to center the window vertical
//	var top = (screen.height/2)-250;
//below is to center the window horizontal
	var left = (screen.width/2)-465;
//define the features of the window
	var couponFeatures =  " scrollbars=yes,resizable=yes,toolbar=yes,location=yes,width=930,height=500,top=" + top + ",left=" + left;
//open the window
	var windowName = "Coupon";
	window.open(URLJump,windowName,couponFeatures);
}

//Function to Pop-Up the Video window
function openVideo(URLJump) { 
//below allows the java to determine the screen width and height
//the -### at the end of each is half the size of the window
//below is to align to top
	var top = 0;
//below is to center the window vertical
//	var top = (screen.height/2)-250;
//below is to center the window horizontal
	var left = (screen.width/2)-270;
//define the features of the window
	var videoFeatures =  " scrollbars=yes,resizable=yes,toolbar=yes,location=yes,width=540,height=470,top=" + top + ",left=" + left;
//open the window
	var windowName = "Video";
	window.open(URLJump,windowName,videoFeatures);
}