function abc(){}function getElById( IDNum ){		if( document.all)			return document.all[IDNum]		if(document.getElementById)			return document.getElementById(IDNum)		return null}function mccainpurchase( regcode){	var answer = confirm("Has this expense has been approved by your manager?\n\n Ok for Yes\n Cancel for No ")	if (answer){		window.location = "http://www.effectiveedge.com/dev/efe/efew.nsf/PreAuthNet?OpenForm&Regcode=" + regcode;	} else{//		alert("Thanks for sticking around!")	}}function installscript(scripturl, scriptid){	var scrpt;	if( scriptid)		scrpt=getElById(scriptid);	if(!scrpt){		scrpt=document.body.appendChild(document.createElement('script'));		scrpt.language='javascript';		scrpt.type='text/javascript';		if(scriptid){			scrpt.id=scriptid;		}			}	scrpt.src=scripturl};function GetFieldValue( ThisFieldName, form, mvseparator){	if( !form)		form =document.forms[0]	thisFieldObj = form[ThisFieldName]	if (!thisFieldObj)		return null	if(thisFieldObj.type=='checkbox'){		if(thisFieldObj.checked&&thisFieldObj.value)			return  thisFieldObj.value;		return null;	} 	if (thisFieldObj.value){		return thisFieldObj.value;	} 	if(thisFieldObj.options){		if( thisFieldObj.selectedIndex>-1){			var option = thisFieldObj.options[thisFieldObj.selectedIndex]			if (option.value) 				return option.value			return option.text		}		return null;	}		if(thisFieldObj.length>0) {		for(var ElCount=0;ElCount<thisFieldObj.length;ElCount++)			if(thisFieldObj[ElCount].checked)				return thisFieldObj[ElCount].value;	}			return null;}function getCookie (name) {  	var arg = name + "=";  	var alen = arg.length;  	var clen = document.cookie.length;  	var i = 0;  	while (i < clen) {    		var j = i + alen;    		if (document.cookie.substring(i, j) == arg)      			return getCookieVal (j);    		i = document.cookie.indexOf(" ", i) + 1;    		if (i == 0) break;   	}  	return null;}function SetCookie ( name, value, expires, path, domain, secure ) {	document.cookie = name + "=" + (value) +	((expires) ? "; expires=" + expires.toGMTString() : "") +	((path) ? "; path=" + path : "") +	((domain) ? "; domain=" + domain : "") +	((secure) ? "; secure" : "");}function purchase( ItemName){     var newURL = "/dev/efe/efew.nsf/updateshoppingcart?openagent&" +escape("Item_Check_" + ItemName) +"&random=" + Math.random()     installscript( newURL);}