function printerfriendly()
{
//**OK alert ("printerfriendly()");
	document.write ("<img src=\"http://welcome.hp-ww.com/img/hpweb_1-2_prnt_icn.gif\" alt=\"Printable version\" border=\"0\"><a href=\"http://www.hp.com/cgi-bin/pf-new.cgi?in=" + location.href + "\" class=\"udrlinebold\">Printable version</a>");
}
function compaq_printerfriendly()
{
alert ("compaq_printerfriendly()");
	document.write ("<img src=\"http://welcome.hp-ww.com/img/cpq_topnav_print_icon.gif\" width=\"14\" height=\"13\" alt=\"printable version\" border=\"0\"><img src=\"http://welcome.hp-ww.com/img/s.gif\" width=\"3\" height=\"1\" border=\"0\" alt=\"\"><a href=\"http://www.hp.com/cgi-bin/pf-new.cgi?in=" + location.href + "\" class=\"cpqUdrlinebold\">printable version</a>");
}
// Randomiser Advertisement on right nav

var rnd_general = new Array();
rnd_general[1] = "/eng/images/rnd_general/banner_dvd300.gif;HP dvd writer 300 series;http://h50026.www5.hp.com/eng/products/dvd/index.shtml";
rnd_general[2] = "/eng/images/rnd_general/psc1210_random.jpg;HP psc 1210;http://h50025.www5.hp.com/hpcom/hk_en/10_38_77_537summary.html";
rnd_general[3] = "/eng/images/rnd_general/banner_photosmart7550.gif;HP photosmart 7550;http://h50012.www5.hp.com/bigbang/live_v_sin.htm";
rnd_general[4] = "/eng/images/rnd_general/banner_deskjet5550.gif;HP deskjet 5550;http://h21001.www2.hp.com/apipc/SG/EN/series_1101232147.html";
rnd_general[5] = "/eng/images/rnd_general/banner_officejet5110_ad.jpg;HP officejet 5110;http://h50026.www5.hp.com/eng/newsgram/officejet/5110.shtml";
rnd_general[6] = "/eng/images/rnd_general/banner_officejet6110_ad.jpg;HP officejet 6110;http://h50026.www5.hp.com/eng/newsgram/officejet/6110.shtml";


function randomizer(category) {
alert ("randomizer('" + category + "')");
	rndimagenum = Math.ceil(Math.random() * (eval("rnd_" + category + ".length") - 1));
	eval ("items = rnd_" + category + "[" + rndimagenum + "].split(';');");
	rndimage = items[0];
	imgalttext = items[1];
	imglink = items[2];
	document.write("<a href='" + imglink + "'><img src='" + rndimage + "' alt='" + imgalttext + "' border=0></a>");
}

// ROTATING HOME PROMOTION GRAPHICS

var totalpics = 1; // ALWAYS total number of pics - 1
var ct1 = 0;  // column 1 counter to start at 0

var ad1 = new Array(); // array of images for column 1
ad1[0]="/images/chiclet_australia.jpg";
ad1[1]="/images/chiclet_promo.jpg";

var ad1url = new Array(); // array of urls for column1, the url order follows ada order
ad1url[0]="http://h50012.www5.hp.com/bigbang/luckydraw.shtml"
ad1url[1]="http://h50012.www5.hp.com/promotions.shtml"

var url1 = ad1url[0];

// Start Rotating Images in each column

// Rotating Column 1 graphics
function cyclec1() {
alert ("cyclec1()");
/*
	if (document.images) {
		if (document.promo1.complete) {
			
			document.promo1.src=ad1[ct1];
			url1 = ad1url[ct1];
			if (ct1==totalpics) {
				ct1=0;
			}
			else {
				ct1++;
			}
		}
		setTimeout("cyclec1()", 5000);
	}
*/
}

// Putting Column 1 graphics url
function geturl1() {
alert ("geturl1()");
	if (!url1.indexOf("http://")) {
		if(url1==ad1url[0])
		window.open(url1);
		else
		parent.location.href=url1;
	}
	else {
		parent.location.href = url1;
	}
}

function jump() 
{
	var index = document.forms["Form1"].language.selectedIndex;
	url = document.forms["Form1"].language.options[index].value;
	window.location.href=(url);
}