function Loader(){var Image_Counter = new Array(); 
	var counter =  Image_Counter.length; var Image_Paths = Loader.arguments;
	for(var i=0;i<Image_Paths.length;i++) {
	Image_Counter[counter] = new Image();Image_Counter[counter++].src = Image_Paths[i];}
}

function Swap(current_image,new_image) {
	document[current_image].src = new_image;
return true;
}

function ShowCoupon(locat) {window.open(locat,'','width=600,height=600');}

function CheckBrowser() 
{
	if (document.layers) 
	{
		window.open('upgrade.asp','','width=400,height=450');
	}
}

function ShowHide(divID){
	var thisDiv;
	if(document.all) {thisDiv = document.all[divID];}
	if(document.getElementById && !document.all) {thisDiv = document.getElementById(divID);}
	if(thisDiv.style.display == "none"){thisDiv.style.display = "block";} else {thisDiv.style.display = "none";}
}



// --------------------------------------------------
// Functions for HTML Page Search and Drop Down
// --------------------------------------------------
function CatSelected(select) {
	if (select.selectedIndex!=0)
	select.form.submit();
}


function SearchIt() {
	document.frmSearch.submit();
}



function CheckSearch(theForm){
	if (theForm.SearchID.value == "") {
		alert("Please enter a Search Word or Item ID to Search!");
		theForm.SearchID.focus();
		return false;
		}
	return true;
}

function ChangePointer() {
if (document.all) {
	clickCart.style.cursor = "hand";
}

if (document.getElementById && !document.all) {
clickcart.style.cursor = "pointer";
}

if (document.layers) {
// Do Nothing
}
}

var curNum;
curNum = 0;
