//function reportBug(vProductID, vCatID){
function reportBug(vPath, vQS){
	vPath = vPath.replace('spec.cfm', 'spec_.cfm');
	window.open('/bugReport.cfm?vPath=' + vPath + '&vQS=' + vQS,'email','width=640,height=480,scrollbars=1,resizable=1');
}

function reportSearch(searchString)
{
	window.open('/reportSearch.cfm?searchString=' + searchString);
}

function getPassword_registration(bAlertResponse){
	oLogin = document.getElementById('wcs_login');
	oPass = document.getElementById('wcs_password');
	oFrame  = document.getElementById('if_buffer');

	if (!bAlertResponse){ bAlertResponse = 0; }
	if (bAlertResponse == 1){
		oLogin = document.all.form1.wcs_login;
	}else{
		oPass.value = '-- Retrieving Password --';
	}

	oFrame.wcs_password = null;
	oFrame.src = _src + bAlertResponse + '&login=' + oLogin.value;
}

function getPassword_login(){
	oLogin = document.getElementById('wcs_login');
	oPass = document.getElementById('wcs_password');
	oFrame  = document.getElementById('if_buffer');

	oPass.value = '-- Retrieving Password --';
	oFrame.wcs_password = null;
	oFrame.src = _src + oLogin.value;
}

function searchAdmin(){
	window.open('/search_admin.cfm?bFrontEnd=1','search_admin','width=640,height=480');
}

function gotoProductPage(vProductID){
	document.location = '/critpath/spec.cfm?prodID=' + vProductID;
}