/********************************************************************************************
**	Original Author: 
**	Date: 
**	Purpose: 
**************************************************************************************************
**	Revision History:
**	MZ 03/11/08 Changed windowproperties to be dynamic in function popupWindow
**
**************************************************************************************************/ 

function popUpVerisign(url) {
		sealWin=window.open(url,"win",'toolbar=0,location=0,directories=0,status=1,menubar=0,scrollbars=1,resizable=1,width=550,height=450');
		self.name = "mainWin"; }

function category_jump(form)
	{
		form.action = '/product/categ.cfm?pcatid=' + eval("document." + form.name + ".category.options[document." + form.name + ".category.selectedIndex].value");
		eval(form).submit()
	}
function LiveHelp() 
	{ 
			window.open('/LiveHelp_LA_Form.cfm?' + window.location,'Getting_Started','width=475,height=495,resizable=yes');
	}

<!---NWT 03/11/08 function to call from anywhere, and it will bring up whatever source page you pass to it in a popup window--->
<!---example put this anchor around a text link to initiate window...<a href="javascript:popupWin1('/product/refinement_definition.cfm?rid=#refinements.refinement_id#', 600, 600, 300, 300)">--->
function popupWindow(source, left, top, width, height, options) 
		{
			/*var windowproperties = "location=no,scrollbars=yes,menubars=no,toolbars=no,resizable=no,HEIGHT=300,WIDTH=400"*/
			/* MZ 03/11/08 Changed windowproperties to be dynamic */
			var windowproperties = options + ",left=" + left + ",top=" + top + ",width=" + width + ",height=" + height
			popup = window.open(source,"PopupAddinfo",windowproperties)
			popup.focus()
		}

<!--- function clears the text "Your Email" in the newsletter search box when clicked --->
function ClearText(theField){
	//form = document.news_login;
	if(theField.value.indexOf("Email") != -1){
			theField.value = '';
			theField.focus();
	}
}

