	var varName = getCookie("name");
	var varTitle = getCookie("title");
	var varEmail = getCookie("email");
	var varCompanyURL = getCookie("company");
	var varPhone = getCookie("phone");
	var varCountry = getCookie("country");
	var varState = getCookie("state");
	var varZipcode = getCookie("zipcode");
	var varregSource_wp = getCookie("regSource_wp");
	var varregSource_ds = getCookie("regSource_ds");

	if(varName==null){
		varName = ""
	}
	if(varTitle==null){
		varTitle = ""
	}
	if(varEmail==null){
		varEmail = ""
	}
	if(varCompanyURL==null){
		varCompanyURL = ""
	}
	if(varPhone==null){
		varPhone = ""
	}
	if(varCountry==null){
		varCountry = "USA/Canada"
	}
	if(varState==null){
		varState = ""
	}
	if(varZipcode==null){
		varZipcode = ""
	}
	if(varregSource_wp==null){
		varregSource_wp = ""
	}
	if(varregSource_ds==null){
		varregSource_ds = ""
	}

	document.frm.txtName.value = varName
	document.frm.txtTitle.value = varTitle
	document.frm.txtEmail.value = varEmail
	document.frm.txtCompanyURL.value = varCompanyURL
	document.frm.txtPhone.value = varPhone
	document.frm.txtCountry.value = varCountry
	//document.frm.txtregSource.value = varregSource

	//document.write("<input type=\"image\" name=\"submit\" src=\"/images/wp_download.gif\" border=\"0\" alt=\"\" width=\"156\" height=\"19\">")
	
	function chkwpReg(id){
	
				setCookie("wpid", id, now, "/");
				location.href = 'http://www.metricstream.com/regForms/requestinfo.htm?channel=' + vNewChannel;
				return false
			
	}

	function chkDSReg(id){
		 //if NOT registered for Datasheets
//			alert("NOT Registered for Datasheet")
			setCookie("dsid", id, now, "/");
			location.href = 'http://www.metricstream.com/regForms/collateral_single.htm?channel=' + vNewChannel;
			return false
		
	}
