function addF() {
if((navigator.appVersion.indexOf("MSIE 5") != -1)||(navigator.appVersion.indexOf("MSIE 6") != -1) ) {window.external.addFavorite("http://www.onetowatch.co.uk/?ls=fav", "OneToWatch.co.uk - Shopper's Guide");}
else {alert("Internet Explorer 5+ only...\nPress CTRL + D to bookmark OneToWatch.co.uk!");}
}
function getT() {
var dt = new Date();
var h = dt.getHours();
var m = dt.getMinutes();
var s = dt.getSeconds();
var t = "" + ((h >12) ? h -12 :h);
t += ((m < 10) ? ":0" : ":") + m;
t += ((s < 10) ? ":0" : ":") + s;
t += (h >= 12) ? " pm" : " am";
return "<NOBR><B>"+t +"<B></NOBR>";
}
function runC() {
document.getElementById("time").innerHTML =getT();
setTimeout("runC()",1000);
}

var amcurrent=7;	//global so retained.
var ticks = new Array(
"<B>Children's</B> toys and clothing - <B>cheap!</B>",
"<B>Housewares</B>, Home, Kitchen, Garden, Tools!",
"<B>E-Books</B> available for <B>download NOW!</B>",
"<B>Paper Books</B> - their range now legendary!",
"<B>Serious Software</B> titles to suit every need!",
"Games for <B>PS2, GameCube, XBox, PC</B>...!",
"<FONT COLOR=CYAN><B>Credit Cards</FONT> &amp; <FONT COLOR=#FFFFBB>Cheques</FONT></B> welcomed by all!",
"<FONT COLOR=ORANGE><B>Amazon UK</B></FONT> also takes <FONT COLOR=LIME><B>Switch</FONT>, <FONT COLOR=FUCHSIA>Solo</FONT>, <FONT COLOR=#FFF8CC>PO's!</FONT></B>",
"<B>DvD</B> & Vhs <B>Movies</B> at great prices!",
"<B>Music?</B> No Problem! <B>Pop, Rap, Jazz...</B>",
"<B>Classical Music</B> section for decerning ears!",
"<B>Electronics</B> Phones, Mp3, DvD, PDA's...",
"<B>Online Auctions</B>, Holidays, Travel & Hotels...",
"<FONT COLOR=CYAN><B>Credit Cards</FONT> &amp; <FONT COLOR=#FFFFBB>Cheques</FONT></B> welcomed by all!",
"<FONT COLOR=ORANGE><B>Amazon UK</B></FONT> also takes <FONT COLOR=LIME><B>Switch</FONT>, <FONT COLOR=FUCHSIA>Solo</FONT>, <FONT COLOR=#FFF8CC>PO's!</FONT></B>",
"Amazon, the <B>largest</B> store you <B>trust</B> ONLINE!",
"Shop <B>Safely</B> from over <B>1,500,000</B> items!"
);
function srchamticker(){
	document.getElementById("srchamtick").innerHTML = ticks[amcurrent];
	if(++amcurrent >= ticks.length)
		amcurrent=0;
setTimeout("srchamticker()",4000);
}//End amticker()

function srchamdd(country)
{	var amcount = 2;
	var amuk = new Array(
		"0","Search All UK Products",
		"1","Books",
		"2","e-Books",
		"3","Popular Music",
		"4","Classical Music",
		"5","DVD",
		"6","Video",
		"7","Electronics",
		"8","Software",
		"9","PC & Video Games",
		"10","Software & Games",
		"11","Toys",
		"12","Travel",
		"13","Auctions",
		"14","zShops"
	);
	var amde = new Array(
		"15","Suche Alle Produkte",
		"16","Bücher",
		"17","Englische Bücher",
		"18","Zeitschriften",
		"19","Pop Musik",
		"20","Klassik",
		"21","DVD",
		"22","Video VHS",
		"23","Elektronik",
		"24","Software",
		"25","PC & Videospiele",
		"26","Geschenke"
	);
	var amfr = new Array(
		"27","Tous les produits",
		"28","Livres en français",
		"29","Livres en anglais",
		"30","Pop, V.F., Jazz...",
		"31","Musique classique",
		"32","DVD",
		"33","Vidéo",
		"34","Logiciels et CD-Rom",
		"35","Jeux vidéo"
	);
	var amus = new Array(
		"36","Search All US Products",
		"37","Books",
		"38","Popular Music",
		"39","Music Downloads",
		"40","Classical Music",
		"41","DVD",
		"42","VHS",
		"43","Apparel",
		"45","Toys",
		"46","Baby",
		"47","Computers",
		"48","Video Games",
		"49","Electronics",
		"50","Camera & Photo",
		"51","Software",
		"52","Tools & Hardware",
		"53","Office Products",
		"54","Magazines",
		"55","Outdoor Living",
		"56","Kitchen & Housewares",
		"57","Travel",
		"58","Cell Phones & Service",
		"59","Outlet",
		"60","Auctions",
		"61","zShops",
		"62","Everything Else"
	);
	var amca = new Array(
		"63","Search All CA Products",
		"64","Books",
		"65","Livres en français",
		"66","Music",
		"67","Classical Music",
		"68","Video",
		"69","DVD"
	);

	switch(country)
	{	case "uk" : var usearray=amuk; break;
		case "de" : var usearray=amde; break;
		case "fr" : var usearray=amfr; break;
		case "us" : var usearray=amus; break;
		case "ca" : var usearray=amca; break;
		default : var usearray=amuk; break;
	}

	while(document.srcham.option.length){
		document.srcham.option.options[0] = null;
	}
	for(var i=0; i<usearray.length/amcount; i++) {
		var opt = new Option(usearray[(i*amcount)+1],i);
		opt.value = usearray[(i*amcount)+0];
		var sel = document.srcham.option;
		sel.options[sel.options.length] = opt;
	}
	document.srcham.option.options[0].selected=1;
}//End amsrchdd()
