//-----------------------------------------------------------------------------------------------
/* Requirements:
	These Variables need to be defined as globals before the include:
		imagePath = "images/" //the root relative path of the image
*/

function changeOver(button, imageName, extension){
	button.src = imagePath + imageName + "Over" + extension;
}

function changeOut(button, imageName, extension){
	button.src = imagePath + imageName + "Up" + extension;
}

function services_changeOver(button, imageName, extension){
	button.src = servicesImagePath + imageName + "_on" + extension;
}

function services_changeOut(button, imageName, extension){
	button.src = servicesImagePath + imageName + "" + extension;
}
function products_changeOver(button, imageName, extension){
	button.src = productsImagePath + imageName + "_on" + extension;
}

function products_changeOut(button, imageName, extension){
	button.src = productsImagePath + imageName + "" + extension;
}
// Quicklook Popup for password login information

//-----------------------------------------------------------------------------------------------

function popUpQuicklook() {
	URL="http://www.validation.com/quicklook/quicklook.asp"
	//day = new Date();
	//id = day.getTime();
        //id="quicklook";
        ql_screenWidth = self.screen.availWidth;
        mainAppX = ql_screenWidth - 365;        

	ql=window.open(URL,'quicklook','toolbar=1,scrollbars=1,location=0,statusbar=0,menubar=1,resizable=1,left=355,top=2,screenY=0,screenX=2,width=' + mainAppX + ',height=500');
}
//



//-----------------------------------------------------------------------------------------------

function popUpContacts() {
	URL="http://www.validation.com/general/contact.asp"
	day = new Date();
	id = day.getTime();
	eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=1,width=810,height=408');");
}
//

//-----------------------------------------------------------------------------------------------

function popUpNotes(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=1,width=600,height=325');");
}
//-----------------------------------------------------------------------------------------------

function popUpProbeConfig(URL) {
	day = new Date();
	id = day.getTime();
	eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=800,height=600');");
}
//-----------------------------------------------------------------------------------------------

function popUpCMMConfig(URL) {
	day = new Date();
	id = day.getTime();
	eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=800,height=600');");
}
//-----------------------------------------------------------------------------------------------

function popUpResults(URL) {
	day = new Date();
	id = day.getTime();
	eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=800,height=600');");
}
//-----------------------------------------------------------------------------------------------

function openForumWindow() {
 //  popupWin = window.open('http://www.validation.com/vt_forum/Welcome.htm', 'remote', 'scrollbars,resizable,width=1024,height=768')
    popupWin = window.open('http://www.validation.com/vt_forum/Welcome.htm', 'remote', 'scrollbars,resizable,width=800,height=768')
}

//-----------------------------------------------------------------------------------------------
function openNoOperator()
{
 openNoOpWin = window.open('http://www.validation.com/vt_forum/op_not_available.htm','remote', 'width=750,height=225')
}
//-----------------------------------------------------------------------------------------------

function popUp600by400(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=1,width=600,height=400');");
}
