<!--
// copyright 1999-2001 Idocs, Inc. http://www.idocs.com/tags/
// Distribute this script freely, but keep this 
// notice with the code.
var submitRolls = new Object();

function submitroll(src, oversrc, name)
{
this.src=src;
this.oversrc=oversrc;
this.name=name;
this.alt="Submit";
this.write=submitroll_write;
}

function submitroll_write()
{
var thisform = 'document.forms[' + (document.forms.length - 1) + ']';
submitRolls[this.name] = new Object();
submitRolls[this.name].over = new Image();
submitRolls[this.name].over.src = this.oversrc;
submitRolls[this.name].out = new Image();
submitRolls[this.name].out.src = this.src;

document.write
	(
	'<A onMouseOver="if (document.images)document.images[\'' + this.name + "'].src=submitRolls['" + this.name + '\'].over.src"' + 
	' onMouseOut="if (document.images)document.images[\'' + this.name + "'].src=submitRolls['" + this.name + '\'].out.src"' + 
	' HREF="javascript:'
	);

if (this.sendfield)
	{
	if (! this.sendvalue)
		this.sendvalue = 1;
	document.write(thisform, ".elements['", this.sendfield, "'].value='", this.sendvalue, "';");
	}

document.write(thisform + '.submit();void(0);"');
if (this.msg)document.write(' onClick="return confirm(\'' , this.msg, '\')"');
document.write('>');

document.write('<IMG SRC="' + this.src + '" ALT="' + this.alt + '" BORDER=0 NAME="' + this.name + '"');
if (this.height)document.write(' HEIGHT=' + this.height);
if (this.width)document.write(' WIDTH='  + this.width);
if (this.otheratts)document.write(' ' + this.otheratts);
document.write('></A>');
if (this.sendfield)
	{
	document.write('<INPUT TYPE=HIDDEN NAME="' + this.sendfield + '">');
	document.forms[document.forms.length - 1].elements[this.sendfield].value='';
	}
}

//start of other magic
function mouseover_shop()
{
document.getElementById("buy_box_top").style.backgroundPosition = "top left";
document.getElementById("buy_box").style.backgroundColor='#a2b2e0'; 
document.getElementById("buy_box_bottom").style.backgroundPosition = "bottom left";
document.getElementById("buy_box").style.color = "#FFFFFF";
document.getElementById("ready_to_buy").style.color = "#FFFFFF";
}
function mouseout_shop()
{
document.getElementById("buy_box_top").style.backgroundPosition = "top right";
document.getElementById("buy_box").style.backgroundColor='#e0e5fc'; 
document.getElementById("buy_box_bottom").style.backgroundPosition = "bottom right";
document.getElementById("buy_box").style.color = "#808080";
document.getElementById("ready_to_buy").style.color = "#3B42A4";
}

function mouseover_shop_1()
{
document.getElementById("buy_box_top").style.backgroundPosition = "top left";
document.getElementById("buy_box").style.backgroundColor='#a2b2e0'; 
document.getElementById("buy_box_bottom_1").style.backgroundColor = '#a2b2e0'; 
document.getElementById("buy_box").style.color = "#FFFFFF";
document.getElementById("ready_to_buy").style.color = "#FFFFFF";
}
function mouseout_shop_1()
{
document.getElementById("buy_box_top").style.backgroundPosition = "top right";
document.getElementById("buy_box").style.backgroundColor='#e0e5fc'; 
document.getElementById("buy_box_bottom_1").style.backgroundColor = '#e0e5fc'; 
document.getElementById("buy_box").style.color = "#808080";
document.getElementById("ready_to_buy").style.color = "#3B42A4";
}

function mouseover_shop_2()
{
document.getElementById("buy_box_top_2").style.backgroundColor='#a2b2e0'; 
document.getElementById("buy_box_2").style.backgroundColor='#a2b2e0'; 
document.getElementById("buy_box_bottom").style.backgroundPosition = "bottom left";
document.getElementById("buy_box_2").style.color = "#FFFFFF";
document.getElementById("ready_to_buy_2").style.color = "#FFFFFF";
}
function mouseout_shop_2()
{
document.getElementById("buy_box_top_2").style.backgroundColor ='#e0e5fc';
document.getElementById("buy_box_2").style.backgroundColor='#e0e5fc'; 
document.getElementById("buy_box_bottom").style.backgroundPosition = "bottom right";
document.getElementById("buy_box_2").style.color = "#808080";
document.getElementById("ready_to_buy_2").style.color = "#3B42A4";
}

function mouseover_shop_mid()
{
document.getElementById("buy_box_top_mid").style.backgroundColor='#a2b2e0'; 
document.getElementById("buy_box_mid").style.backgroundColor='#a2b2e0'; 
document.getElementById("buy_box_mid").style.color = "#FFFFFF";
document.getElementById("ready_to_buy_mid").style.color = "#FFFFFF";
}
function mouseout_shop_mid()
{
document.getElementById("buy_box_top_mid").style.backgroundColor ='#e0e5fc';
document.getElementById("buy_box_mid").style.backgroundColor='#e0e5fc'; 
document.getElementById("buy_box_mid").style.color = "#808080";
document.getElementById("ready_to_buy_mid").style.color = "#3B42A4";
}

function mouseover_shops_mid()
{
document.getElementById("buy_box_mid2").style.backgroundColor='#a2b2e0'; 
document.getElementById("buy_box_bottom_mid").style.backgroundColor='#a2b2e0'; 
document.getElementById("buy_box_mid2").style.color = "#FFFFFF";
document.getElementById("ready_to_buy_mid2").style.color = "#FFFFFF";
}
function mouseout_shops_mid()
{
document.getElementById("buy_box_mid2").style.backgroundColor='#e0e5fc'; 
document.getElementById("buy_box_bottom_mid").style.backgroundColor='#e0e5fc';
document.getElementById("buy_box_mid2").style.color = "#808080";
document.getElementById("ready_to_buy_mid2").style.color = "#3B42A4";
}

//start of other magic

pic1= new Image(101,23); 
pic1.src="images/Submit-on-hover.png"; 

function mouseover_submit()
{
document.getElementById("submit_button").src = "images/Submit-on-hover.png";
}
function mouseout_submit()
{
document.getElementById("submit_button").src = "images/Submit-but.png";
}


//-->
