<!--

/* 

This code is from Dynamic Web Coding 

at http://www.dyn-web.com/

Copyright 2001-3 by Sharon Paine 

See Terms of Use at http://www.dyn-web.com/bus/terms.html

Permission granted to use this code 

as long as this entire notice is included.

*/


//-->



// this is the email a page URL script 

<!--

function element(id) {  // universal way to get elemnt by id

	if (document.getElementById != null) {	// 1st choice

		return document.getElementById(id);	//no N4, IE4

	}

	if (document.all != null) {		// 2nd choice

		return document.all[id];	// IE only

	}

	if (document.layers != null) {	// 3rd choice

		return document.layers[id];	// N4 only

	}

	return null;

}



function openEmailLinkWindow() {

	var senderName = element("sender-name").value;

	var senderEmail = element("sender-email").value;

	var senderIsRecipient = element("sender-is-recipient-true").checked;

	var recipientName = element("recipient-name").value;

	var recipientEmail = element("recipient-email").value;

	var link = window.location.href;



	var emailLinkWindow = window.open(

		"/core/process?" + 

		"public-email-link.sender-name=" + 

		senderName + 

		"&public-email-link.sender-email=" + 

		senderEmail + 

		"&public-email-link.sender-is-recipient=" + 

		senderIsRecipient +

		"&public-email-link.recipient-name=" + 

		recipientName + 

		"&public-email-link.recipient-email=" + 

		recipientEmail +

		"&public-email-link.link=" + 

		link

		, "emailLinkWindow",

		"location=no," +

		"height=450," +

		"width=500," +

		"zlock=no,"

	);





	return true;

}



function height500(Url){
	window.open(Url, "newWindow","location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,copyhistory=no,width=750,height=500");
}





function bigWindow(Url){

				window.open(Url, "newWindow","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,copyhistory=no,width=516,height=500");

			}

function scriptWindow(Url){

                                window.open(Url, "newWindow","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,copyhistory=no,width=616,height=400");

                       }

<!-- used for chat popup-->
function PopIt()
{
	window.open(Url, "newWindow","location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,copyhistory=no,width=300,height=350");
}


function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}

function width350(Url){
	window.open(Url, "newWindow","location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,copyhistory=no,width=416,height=300");
}

function email(Url){
	window.open(Url, "newWindow","location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,copyhistory=no,width=376,height=300");
}

function info(Url){
	window.open(Url, "newWindow","location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,copyhistory=no,width=300,height=100");
}

function certRequest(Url){
	window.open(Url, "newWindow","location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,copyhistory=no,width=300,height=170");
}

function merchant() {

   if ( document.merchantAcct.merchant.checked == true ) {

      self.location="https://register-payflow.verisign.com/testreg.cfm?partner=VeriSign&merchantaccount=y&returnurl=https://register-payflow.verisign.com/confirmlast.cfm&memo1=WebLink49&product=1003";

   } else {

      self.location="https://register-payflow.verisign.com/testreg.cfm?partner=VeriSign&merchantaccount=n&memo1=WebLink49&product=1003";

   }
}
function supportchat(){window.open("https://www.websitealive.net/32/rRouter.asp?groupid=32&departmentid=37","guest","height=420,width=450")

}

function cschat(){window.open("/chat/chat_intro.html","newWindow","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,copyhistory=no,width=516,height=500")
}
function tschat(){window.open("/chat/chat_techsupport.html","newWindow","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,copyhistory=no,width=516,height=500")
}
 
function timezone(){window.open("/popups/SUPPORT/timezone.html","newWindow","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,copyhistory=no,width=370,height=240")
}

function support(Url){
	window.open(Url, "newWindow","location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,copyhistory=no,width=370,height=165");
}
function support2(Url){
	window.open(Url, "newWindow","location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,copyhistory=no,width=370,height=281");
}
function tutorial(Url){
	window.open(Url, "newWindow","location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,copyhistory=no,width=950,height=800");
}
// -->
