// JavaScript Document

//Function to Pop-Up the Video Links
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)-250;
//define the features of the window
	var videoFeatures =  " scrollbars=yes,resizable=yes,toolbar=no,location=no,width=500,height=500,top=" + top + ",left=" + left;
//open the window
	var windowName = "Video";
	window.open(URLJump,windowName,videoFeatures);
}

//Function to Pop-Up the Ad links
function openAd(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)-400;
//define the features of the window
	var adFeatures =  " scrollbars=yes,resizable=yes,toolbar=no,location=no,width=800,height=700,top=" + top + ",left=" + left;
//open the window
	var windowName = "Ad";
	window.open(URLJump,windowName,adFeatures);
}

//Function to Pop-Up the Print links
function openPF(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)-400;
//define the features of the window
	var pfFeatures =  " scrollbars=yes,resizable=yes,toolbar=yes,location=yes,width=800,height=800,top=" + top + ",left=" + left;
//open the window
	var windowName = "PrinterFriendly";
	window.open(URLJump,windowName,pfFeatures);
}


function MM_goToURL() { //v3.0
  var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
  for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
}

function popUp(URL) {
	day = new Date();
	id = day.getTime();
	eval("page" + id + " = window.open(URL, '" + id + "','toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=640,height=480');");
}

//copright years Start
{ 
	var copyright = "2006-2010";
}
//copright years End