﻿


var xmlHttp=''; 
if (window.XMLHttpRequest) {
	xmlHttp = new XMLHttpRequest();
}
else if (window.ActiveXObject) {
	xmlHttp = new 
	ActiveXObject('Microsoft.XMLHTTP');
}
var booAjax='Not Supported';
if(xmlHttp) {
	booAjax='at3301';
}
//																				booAjax='Not Supported';
//lphares
//2009-01-23
//Gather data about the viewer and their computer 'Fishing?'
function fncViewerData(booAjax) {
	//Complete 'inputBooAjax'
	//Complete 'inputBooAjax'
	//Complete 'inputBooAjax'
//Yep twice
	if(document.Ajax.javaBooAjax.value=='at3301') {
		var url='../php/javainputs.php?guidKey={351287D7-968D-4935-8FDB-11A9DE6F7360}';
		xmlHttp.open('GET',url,false);
		xmlHttp.send(null);
		if(xmlHttp.responseText!='<span style=color:red;>Sorry Please Try Again!</span>') {
			document.getElementById('divHiddenAll').innerHTML=xmlHttp.responseText;
			fncPopulateInputTags()
		}
	}
//Yep twice
	if(document.Ajax.javaBooAjax.value=='') {
		document.Ajax.javaBooAjax.value=booAjax
//Yep twice
		if(document.Ajax.javaBooAjax.value=='at3301') {
			var url='../php/javainputs.php?guidKey={351287D7-968D-4935-8FDB-11A9DE6F7360}';
			xmlHttp.open('GET',url,false);
			xmlHttp.send(null);
			if(xmlHttp.responseText!='<span style=color:red;>Sorry Please Try Again!</span>') {
				document.getElementById('divHiddenAll').innerHTML=xmlHttp.responseText;
				fncPopulateInputTags()
			}
		}
//Yep twice
		var url='../php/arrayphp.php?guidKey={351287D7-968D-4935-8FDB-11A9DE6F7360}&sDataId=Ajax&sVariable=inputBooAjax&sValue='+booAjax;
		xmlHttp.open('GET',url,false);
		xmlHttp.send(null);
		//alert(xmlHttp.responseText);
	}
	//Complete 'inputBooAjax'
	//Complete 'inputBooAjax'
	//Complete 'inputBooAjax'
	if(document.Ajax.javaBooAjax.value=='at3301') {
		if(document.ViewerData.javaBrowser.value=='') {
			var url='../php/arrayphp.php?guidKey={351287D7-968D-4935-8FDB-11A9DE6F7360}&sDataId=ViewerData&sVariable=inputBrowser&sValue='+navigator.appName+', '+navigator.appVersion;
			xmlHttp.open('GET',url,false);
			xmlHttp.send(null);
			//alert(xmlHttp.responseText);
		}
		if(document.ViewerData.javaCPU.value=='') {
			var url='../php/arrayphp.php?guidKey={351287D7-968D-4935-8FDB-11A9DE6F7360}&sDataId=ViewerData&sVariable=inputCPU&sValue='+navigator.cpuClass+', '+navigator.platform;
			xmlHttp.open('GET',url,false);
			xmlHttp.send(null);
			//alert(xmlHttp.responseText);
		}
		if(document.ViewerData.javaScrollWidth.value=='') {
			var url='../php/arrayphp.php?guidKey={351287D7-968D-4935-8FDB-11A9DE6F7360}&sDataId=ViewerData&sVariable=inputScrollWidth&sValue='+document.body.scrollWidth;
			xmlHttp.open('GET',url,false);
			xmlHttp.send(null);
			//alert(xmlHttp.responseText);
		}
		if(document.ViewerData.javaScrollHeight.value=='') {
			var url='../php/arrayphp.php?guidKey={351287D7-968D-4935-8FDB-11A9DE6F7360}&sDataId=ViewerData&sVariable=inputScrollHeight&sValue='+document.body.scrollHeight;
			xmlHttp.open('GET',url,false);
			xmlHttp.send(null);
			//alert(xmlHttp.responseText);
		}
		if(document.ViewerData.javaScreenWidth.value=='') {
			var url='../php/arrayphp.php?guidKey={351287D7-968D-4935-8FDB-11A9DE6F7360}&sDataId=ViewerData&sVariable=inputScreenWidth&sValue='+screen.availWidth;
			xmlHttp.open('GET',url,false);
			xmlHttp.send(null);
			//alert(xmlHttp.responseText);
		}
		if(document.ViewerData.javaScreenHeight.value=='') {
			var url='../php/arrayphp.php?guidKey={351287D7-968D-4935-8FDB-11A9DE6F7360}&sDataId=ViewerData&sVariable=inputScreenHeight&sValue='+screen.availHeight;
			xmlHttp.open('GET',url,false);
			xmlHttp.send(null);
			//alert(xmlHttp.responseText);
		}
		if(document.ViewerData.javaBooJava.value=='') {
			var url='../php/arrayphp.php?guidKey={351287D7-968D-4935-8FDB-11A9DE6F7360}&sDataId=ViewerData&sVariable=inputBooJava&sValue='+navigator.javaEnabled();
			xmlHttp.open('GET',url,false);
			xmlHttp.send(null);
			//alert(xmlHttp.responseText);
		}
	}
}
//lphares
//2009-01-23
//Gets the HTML from php file javainvoice and displays it in 'divInvoiceContent'
//Also I will reconfigure this to work for the product search page
function fncPageDependant() {
	if(document.Ajax.javaBooAjax.value=='at3301') {
		var sDocName=(document.URL.substring(document.URL.lastIndexOf('/')+1,document.URL.lastIndexOf('.')));
		var sDocPHP='.htm';
		if((document.URL.lastIndexOf('body=')+5)>5) {
			sDocPHP=(document.URL.substring(document.URL.lastIndexOf('body=')+5)).substring(0,2)
		}
		if(sDocName.substring(0,12)=='productinfo_') {
			iId=sDocName.substring(12)
			sDocName='productinfo_xxxxxx';
		}
		if(sDocPHP=='19') {
			iId=document.getElementById('spanId').innerHTML;
		}
		switch(sDocName+sDocPHP) {
			case 'php20':  case 'invoice.htm':
				var url='../php/javainvoice.php?guidKey={351287D7-968D-4935-8FDB-11A9DE6F7360}';
				xmlHttp.open('GET',url,false);
				xmlHttp.send(null);
				if(xmlHttp.responseText!='<span style=color:red;>Sorry Please Try Again!</span>') {
					document.getElementById('divInvoiceContent').innerHTML=xmlHttp.responseText;
				}
			break;
			//default:
				//alert('default');//Default never needed
			//break;
		}
	}
}
//lphares
//2009-01-23
//Sends the value to php arrayphp script that returns a display message back after performing regular expressions
function fncArrayPhp(sDataId,sVariable,sValue,sElementRequesting,sElementImage) {
	if(sElementImage!='') {
			document.getElementById(sElementImage).src='../images/16x16icons/_spinner_grey.gif';
	}
	if(document.Ajax.javaBooAjax.value=='at3301') {
		var url='../php/arrayphp.php?guidKey={351287D7-968D-4935-8FDB-11A9DE6F7360}&sDataId='+sDataId+'&sVariable='+sVariable+'&sValue='+sValue+'&';
		xmlHttp.open('GET',url,false);
		xmlHttp.send(null);
		if(sElementRequesting!='') {
			document.getElementById(sElementRequesting).innerHTML=xmlHttp.responseText;
		}
		if(sElementImage!='') {
			regSorry=new RegExp('<span style=color:red;>Sorry Please Try Again!</span>');
			booSorry=regSorry.test(xmlHttp.responseText)
			if(booSorry) {
				document.getElementById(sElementImage).src='../images/16x16icons/error.png';
			}
			else {
				document.getElementById(sElementImage).src='../images/16x16icons/accept.png';
			}
		}
	}
}
//lphares
//2009-01-28
//Sends Emails
function fncEMailArrayPhp(sDataId,sElementRequesting) {
	if(document.Ajax.javaBooAjax.value=='at3301') {
		var url='../php/javainvoice.php?guidKey={351287D7-968D-4935-8FDB-11A9DE6F7360}&sDataId='+sDataId+'&';
		xmlHttp.open('GET',url,false);
		xmlHttp.send(null);
		if(sElementRequesting!='') {
			document.getElementById(sElementRequesting).innerHTML=xmlHttp.responseText;
		}
	}
}
//lphares
//2009-01-23
//Sends the value to php arrayphp script that returns a display message back after performing regular expressions
//fncArrayPhpBasket(@101\',\'1.00\',\'NOCHANGE\',\'Gift Card\',\'GiftCard\');
function fncArrayPhpBasket(iId,iPrice,iQuantity,iDelta,sName,sCategory,sElementRequesting,sElementImage) {
	if(sElementImage!='') {
			document.getElementById(sElementImage).src='../images/16x16icons/_spinner_grey.gif';
	}
	if(document.Ajax.javaBooAjax.value=='at3301') {
		var url='../php/arrayphpbasket.php?guidKey={351287D7-968D-4935-8FDB-11A9DE6F7360}&iId='+iId+'&iPrice='+iPrice+'&iQuantity='+iQuantity+'&iDelta='+iDelta+'&sCategory='+sCategory+'&sName='+sName+'&';
		xmlHttp.open('GET',url,false);
		xmlHttp.send(null);
		if(sElementRequesting!='') {
			document.getElementById(sElementRequesting).innerHTML=xmlHttp.responseText;
		}
		if(sElementImage!='') {
			regSorry=new RegExp('<span style=color:red;>Sorry Please Try Again!</span>');
			booSorry=regSorry.test(xmlHttp.responseText)
			if(booSorry) {
				document.getElementById(sElementImage).src='../images/16x16icons/error.png';
			}
			else {
				document.getElementById(sElementImage).src='../images/16x16icons/accept.png';
			}
		}
	}
}
//lphares
//2009-01-28
//Sends only the Quantity and Quantity Delta
//NOCHANGE,0,1,-1
function fncArrayPhpBasketDelta(iId,iQuantity,iDelta) {
	document.getElementById('divHiddenOther').innerHTML='<img src="../images/16x16icons/_spinner_grey.gif" width="16" height="16">';
	if(document.Ajax.javaBooAjax.value=='at3301') {
		var url='../php/arrayphpbasket.php?guidKey={351287D7-968D-4935-8FDB-11A9DE6F7360}&fncDelta=1&iId='+iId+'&iQuantity='+iQuantity+'&iDelta='+iDelta+'&';
		xmlHttp.open('GET',url,false);
		xmlHttp.send(null);
	}
}
//lphares
//2009-01-23
//Gets the HTML from php file random and displays it in 'divRandom'
function fncRandom() {
	if(document.Ajax.javaBooAjax.value=='at3301') {
		var url='../php/javarandom.php?guidKey={351287D7-968D-4935-8FDB-11A9DE6F7360}';
		xmlHttp.open('GET',url,false);
		xmlHttp.send(null);
		if(xmlHttp.responseText!='<span style=color:red;>Sorry Please Try Again!</span>') {
			document.getElementById('divRandom').innerHTML=xmlHttp.responseText;
		}
	}
}
//lphares
//2009-01-25
//Gets the Product Results
function fncResults(sMethod) {
	document.getElementById('divProductResults').innerHTML='<img src="../images/16x16icons/_spinner_grey.gif" width="16" height="16">';
	if(document.Ajax.javaBooAjax.value=='at3301') {
		var url='../php/javaresults.php?guidKey={351287D7-968D-4935-8FDB-11A9DE6F7360}&sMethod='+sMethod+'&';
		xmlHttp.open('GET',url,false);
		xmlHttp.send(null);
		if(xmlHttp.responseText!='<span style=color:red;>Sorry Please Try Again!</span>') {
			document.getElementById('divProductResults').innerHTML=xmlHttp.responseText;
		}
	}
}
//lphares
//2009-01-25
//Gets the Zip Code information from 'http://www.zipinfo.com/cgi-local/zipsrch.exe?cnty=cnty&ac=ac&tz=tz&ll=ll&msa=msa&zip='..'&Go=Go'
function fncZipCode(sDataId,sCityStZip) {
	if(document.Ajax.javaBooAjax.value=='at3301') {
		sFormat='Comma' // sFormat='HTML'
		var url='../php/ajaxzipcode.php?guidKey={351287D7-968D-4935-8FDB-11A9DE6F7360}&iZipCode='+sCityStZip+'&sFormat='+sFormat;
		xmlHttp.open('GET',url,false);
		xmlHttp.send(null);
	}
	//sDataId=sDataId
	sVariable='fncZipCode'
	sValue=xmlHttp.responseText
	if(document.Ajax.javaBooAjax.value=='at3301') {
		var url='../php/arrayphp.php?guidKey={351287D7-968D-4935-8FDB-11A9DE6F7360}&sDataId='+sDataId+'&sVariable='+sVariable+'&sValue='+sValue+'&';
		xmlHttp.open('GET',url,false);
		xmlHttp.send(null);
	}
}
//lphares
//2009-01-23
//Gets the HTML from php file javabasket and displays it in 'divCartItems' also sends the quantity in cart to 'spanCart'
function fncJavaBasket() {
	document.getElementById('divHiddenOther').innerHTML='<img src="../images/16x16icons/_spinner_grey.gif" width="16" height="16">';
	if(document.Ajax.javaBooAjax.value=='at3301') {
		var url='../php/javabasket.php?guidKey={351287D7-968D-4935-8FDB-11A9DE6F7360}&';
		xmlHttp.open('GET',url,false);
		xmlHttp.send(null);
		if(xmlHttp.responseText!='<span style=color:red;>Sorry Please Try Again!</span>') {
			document.getElementById('divCartItems').innerHTML=xmlHttp.responseText;
			document.getElementById('spanCart').innerHTML=document.getElementById('divHiddenJavaBasketCount').innerHTML;
			document.getElementById('divHiddenOther').innerHTML=document.getElementById('divHiddenJavaBasketDetail').innerHTML;
		}
	}
}
//lphares
//2009-01-23
//Populate the textarea and input inputs with value from javainputs form that is hidden
//Click 'Written By:' to view the values
function fncPopulateInputTags() {
	var divs = document.getElementsByTagName('textarea'); 
	for (var i=0; i<divs.length; i++) { //>
		if(divs[i].id!='') {
			switch(divs[i].id) {
				case 'BasketShippinginputMessage':
					document.getElementById(divs[i].id).value=document.BasketShipping.javaMessage.value.replace(/<br>/g,'<br>')
				break;
				case 'ContactUsinputMessage':
					document.getElementById(divs[i].id).value=document.ContactUs.javaMessage.value.replace(/<br>/g,'<br>')
				break;
				case 'GiftCardFrominputMessage':
					document.getElementById(divs[i].id).value=document.GiftCardFrom.javaMessage.value.replace(/<br>/g,'<br>')
				break;
				default:
					//alert(divs[i].id)
				break;
			}
		}
	}
	var divs = document.getElementsByTagName('input'); 
	for (var i=0; i<divs.length; i++) { //>
		if(divs[i].id!='') {
			switch(divs[i].id) {
//				case '100101inputQuantity':
//					document.getElementById(divs[i].id).value=document.NONUMBERS100101.javaQuantity.value
//				break;
				case 'BasketBillinginputFullName':
					document.getElementById(divs[i].id).value=document.BasketBilling.javaFullName.value
				break;
				case 'BasketBillinginputFirstName':
					document.getElementById(divs[i].id).value=document.BasketBilling.javaFirstName.value
				break;
				case 'BasketBillinginputLastName':
					document.getElementById(divs[i].id).value=document.BasketBilling.javaLastName.value
				break;
				case 'BasketBillinginputAddress':
					document.getElementById(divs[i].id).value=document.BasketBilling.javaAddress.value
				break;
				case 'BasketBillinginputCityStZip':
					document.getElementById(divs[i].id).value=document.BasketBilling.javaCityStZip.value
				break;
				case 'BasketBillinginputCity':
					document.getElementById(divs[i].id).value=document.BasketBilling.javaCity.value
				break;
				case 'BasketBillinginputSt':
					document.getElementById(divs[i].id).value=document.BasketBilling.javaSt.value
				break;
				case 'BasketBillinginputZip':
					document.getElementById(divs[i].id).value=document.BasketBilling.javaZip.value
				break;
				case 'BasketShippinginputFullName':
					document.getElementById(divs[i].id).value=document.BasketShipping.javaFullName.value
				break;
				case 'BasketShippinginputFirstName':
					document.getElementById(divs[i].id).value=document.BasketShipping.javaFirstName.value
				break;
				case 'BasketShippinginputLastName':
					document.getElementById(divs[i].id).value=document.BasketShipping.javaLastName.value
				break;
				case 'BasketShippinginputAddress':
					document.getElementById(divs[i].id).value=document.BasketShipping.javaAddress.value
				break;
				case 'BasketShippinginputCityStZip':
					document.getElementById(divs[i].id).value=document.BasketShipping.javaCityStZip.value
				break;
				case 'BasketShippinginputCity':
					document.getElementById(divs[i].id).value=document.BasketShipping.javaCity.value
				break;
				case 'BasketShippinginputSt':
					document.getElementById(divs[i].id).value=document.BasketShipping.javaSt.value
				break;
				case 'BasketShippinginputZip':
					document.getElementById(divs[i].id).value=document.BasketShipping.javaZip.value
				break;
				case 'BasketShippinginputEMail':
					document.getElementById(divs[i].id).value=document.BasketShipping.javaEMail.value
				break;
				case 'BasketShippinginputPhone':
					document.getElementById(divs[i].id).value=document.BasketShipping.javaPhone.value
				break;
				case 'ContactUsinputFullName':
					document.getElementById(divs[i].id).value=document.ContactUs.javaFullName.value
				break;
				case 'ContactUsinputFirstName':
					document.getElementById(divs[i].id).value=document.ContactUs.javaFirstName.value
				break;
				case 'ContactUsinputLastName':
					document.getElementById(divs[i].id).value=document.ContactUs.javaLastName.value
				break;
				case 'ContactUsinputPhone':
					document.getElementById(divs[i].id).value=document.ContactUs.javaPhone.value
				break;
				case 'ContactUsinputEMail':
					document.getElementById(divs[i].id).value=document.ContactUs.javaEMail.value
				break;
//				case 'GiftCardFrominputFullName':
//					document.getElementById(divs[i].id).value=document.GiftCardFrom.javaFullName.value
//				break;
//				case 'GiftCardFrominputFirstName':
//					document.getElementById(divs[i].id).value=document.GiftCardFrom.javaFirstName.value
//				break;
//				case 'GiftCardFrominputLastName':
//					document.getElementById(divs[i].id).value=document.GiftCardFrom.javaLastName.value
//				break;
//				case 'GiftCardFrominputAddress':
//					document.getElementById(divs[i].id).value=document.GiftCardFrom.javaAddress.value
//				break;
//				case 'GiftCardFrominputCityStZip':
//					document.getElementById(divs[i].id).value=document.GiftCardFrom.javaCityStZip.value
//				break;
//				case 'GiftCardFrominputCity':
//					document.getElementById(divs[i].id).value=document.GiftCardFrom.javaCity.value
//				break;
//				case 'GiftCardFrominputSt':
//					document.getElementById(divs[i].id).value=document.GiftCardFrom.javaSt.value
//				break;
//				case 'GiftCardFrominputZip':
//					document.getElementById(divs[i].id).value=document.GiftCardFrom.javaZip.value
//				break;
//				case 'GiftCardToinputFullName':
//					document.getElementById(divs[i].id).value=document.GiftCardTo.javaFullName.value
//				break;
//				case 'GiftCardToinputFirstName':
//					document.getElementById(divs[i].id).value=document.GiftCardTo.javaFirstName.value
//				break;
//				case 'GiftCardToinputLastName':
//					document.getElementById(divs[i].id).value=document.GiftCardTo.javaLastName.value
//				break;
//				case 'GiftCardToinputAddress':
//					document.getElementById(divs[i].id).value=document.GiftCardTo.javaAddress.value
//				break;
//				case 'GiftCardToinputCityStZip':
//					document.getElementById(divs[i].id).value=document.GiftCardTo.javaCityStZip.value
//				break;
//				case 'GiftCardToinputCity':
//					document.getElementById(divs[i].id).value=document.GiftCardTo.javaCity.value
//				break;
//				case 'GiftCardToinputSt':
//					document.getElementById(divs[i].id).value=document.GiftCardTo.javaSt.value
//				break;
//				case 'GiftCardToinputZip':
//					document.getElementById(divs[i].id).value=document.GiftCardTo.javaZip.value
//				break;
				case 'GoogleinputFullName':
					document.getElementById(divs[i].id).value=document.Google.javaFullName.value
				break;
				case 'GoogleinputFirstName':
					document.getElementById(divs[i].id).value=document.Google.javaFirstName.value
				break;
				case 'GoogleinputLastName':
					document.getElementById(divs[i].id).value=document.Google.javaLastName.value
				break;
				case 'GoogleinputAddress':
					document.getElementById(divs[i].id).value=document.Google.javaAddress.value
				break;
				case 'GoogleinputCityStZip':
					document.getElementById(divs[i].id).value=document.Google.javaCityStZip.value
				break;
				case 'GoogleinputCity':
					document.getElementById(divs[i].id).value=document.Google.javaCity.value
				break;
				case 'GoogleinputSt':
					document.getElementById(divs[i].id).value=document.Google.javaSt.value
				break;
				case 'GoogleinputZip':
					document.getElementById(divs[i].id).value=document.Google.javaZip.value
				break;
//				case 'ProductSearchinputProductName':
//					document.getElementById(divs[i].id).value=document.ProductSearch.javaProductName.value
//				break;
//				case 'ProductSearchinputProductDescription':
//					document.getElementById(divs[i].id).value=document.ProductSearch.javaProductDescription.value
//				break;
//				case 'ProductSearchinputProductSKU':
//					document.getElementById(divs[i].id).value=document.ProductSearch.javaProductSKU.value
//				break;	
//				case 'ProductSearchinputProductRandom':
//					document.getElementById(divs[i].id).value=document.ProductSearch.javaProductRandom.value
//				break;				
				case 'ViewerDatainputBrowser':
					document.getElementById(divs[i].id).value=document.ViewerData.javaBrowser.value
				break;
				case 'ViewerDatainputCPU':
					document.getElementById(divs[i].id).value=document.ViewerData.javaCPU.value
				break;
				case 'ViewerDatainputScrollWidth':
					document.getElementById(divs[i].id).value=document.ViewerData.javaScrollWidth.value
				break;
				case 'ViewerDatainputScrollHeight':
					document.getElementById(divs[i].id).value=document.ViewerData.javaScrollHeight.value
				break;
				case 'ViewerDatainputScreenWidth':
					document.getElementById(divs[i].id).value=document.ViewerData.javaScreenWidth.value
				break;
				case 'ViewerDatainputScreenHeight':
					document.getElementById(divs[i].id).value=document.ViewerData.javaScreenHeight.value
				break;
				case 'ViewerDatainputBooJava':
					document.getElementById(divs[i].id).value=document.ViewerData.javaBooJava.value
				break;
				case 'ViewerDatainputBooAjax':
					document.getElementById(divs[i].id).value=document.Ajax.javaBooAjax.value=='at3301'
				break;
				case 'q':
					//Google do nothing
				break;
				default:
					//alert(divs[i].id)
				break;
			}
		}
	}
}

var sSpace=' ';
function fncUseShippingAddress() {
	//alert('Okay')
}
function fncKillTime(iSeconds) {
	for(ii=0; ii!=iSeconds; ii=ii+1) {
		//alert(iSeconds-ii)
	}
}
function fncCheckEntries() {
	regBar='|';
	regSingle="'";
	regDouble='"';
	regFowardSlash='/';
	regExMark='!';
	regSQLSafe=new RegExp(regSingle+regBar+regDouble+regBar+regFowardSlash+regBar+regExMark);
	booTest=regSQLSafe.test(document.frm.inputValue.value)
	if(booTest) {
		document.getElementById('inputRename').value='<span style=color:red;>Sorry Please Try Again!</span>';
		document.getElementById('inputNewFolder').value='<span style=color:red;>Sorry Please Try Again!</span>';
		document.frm.inputValue.value='<span style=color:red;>Sorry Please Try Again!</span>';
	}
	else {
		document.frm.submit();
	}
}
function fncShowDivHiddenAll() {
	document.getElementById('divHidden').style.display='block';
	document.getElementById('divHiddenAll').style.display='block';
}
function fncShowDivHiddenOther() {
	document.getElementById('divHidden').style.display='block';
	document.getElementById('divHiddenOther').style.display='block';
}
function fncHide() {
	document.getElementById('divHidden').style.display='none';
	document.getElementById('divHiddenAll').style.display='none';
	document.getElementById('divHiddenOther').style.display='none';
}
function fncGoogleMap(sAddress) {
	//fncGoogleMap('900 Pinetree Road Southeast, Rio Rancho, New Mexico 87124 (US Post Office)')
	//fncGoogleMap('Intel Museum-Computer Chip 1600 Rio Rancho Dr Se, Rio Rancho, New Mexico 87124')
	//fncGoogleMap('4401 Alameda Blvd NE, Albuquerque, NM 87113 (Balloon Fiesta)')
	document.frmGoogle.q.value='from: '+sAddress+' to: Quilt Bugs 3301 Southern Blvd SE, Rio Rancho, New Mexico 87124';
	document.frmGoogle.submit();
}
function fncPrint() {
	window.print()
}
function fncOnload() {
	//										booAjax='Not Supported'	||	booAjax='at3301';
	fncViewerData(booAjax)
	//fncJavaBasket()
	//fncRandom()
	fncKillTime(1)
	fncPageDependant()
}

