﻿// JScript File
function StartTimer()
{
	setTimeout(ScrollIt(),1000);
	document.testText.Value="here it is";
}

function ScrollIt()
{
	document.testText.Value="helo";
}


function OnItem(page)
{
	//window.open(page,"","toolbar=no, resizable=yes,scrollbars=yes, height=200, width=400");
	//document.location=page;
	document.postform.action=page;
	document.postform.submit();
}

function GiftInfo()
{
	window.open("gift.asp","","toolbar=no, resizable=no,scrollbars=no, height=200, width=400, top=100, left=100");
}

function highheadlight(tag)
{
	tag.className = "HEADHIGH";
	tag.style.cursor="hand";
}

function lowheadlight(tag)
{
	tag.className = "HEADTEXT" ;
}

function highlight(tag)
{
	tag.className = "MENUHIGH";
	tag.style.cursor="hand";
}

function lowlight(tag)
{
	tag.className = "MENUTEXT";
	tag.style.cursor="hand";
}


function menuSelect(code, action)
{
	document.postform.code.value=code;
	document.postform.supp.value=0;
	document.postform.action=action;
	document.postform.submit();
}

function suppSelect(supp, action)
{
	document.postform.supp.value=supp;
	document.postform.action=action;
	document.postform.submit();
}

function quikSelect(codesupp,action)
{
	codes = new Array();
	codes = codesupp.split(",");
	document.postform.code.value=codes[1];
	document.postform.supp.value=codes[2];
	document.postform.action=codes[0];
	document.postform.submit();
}

function featureSelect(code, supp, action)
{
	document.postform.code.value=code;
	document.postform.supp.value=supp;
	document.postform.action=action;
	document.postform.submit();
}

function itemSelect(item, action)
{
	document.postform.item.value=item;
	document.postform.action=action;
	document.postform.submit();
}

function itemBuy(item, action)
{
	document.postform.item.value=item;
	document.postform.buy.value="buy";
	document.postform.action="basket.asp";
	document.postform.submit();
}



