function cch() {
	obj.style.backgroundColor = rgb2hex(i,i,i);
	i=i+2;
	clearInterval (ColorTimer);
	if (i<=220) {ColorTimer = setInterval(cch, 1)} else {i=0; ColorTimer = setInterval(cch1, 1)}
}

function cch1() {
	obj1.style.color = rgb2hex(i,i,i);
	obj2.style.color = rgb2hex(i,i,i);
	i=i+2;
	clearInterval (ColorTimer);
	if (i<=220) {ColorTimer = setInterval(cch1, 1)}
}

function rgb2hex(R,G,B) { x='0123456789ABCDEF';  h = x.charAt(R>>4) + x.charAt(R&15) + x.charAt(G>>4) + x.charAt(G&15) + x.charAt(B>>4) + x.charAt(B&15); return h}


function MM_welcome() {
obj.style.backgroundColor = '#000000';
obj1.style.color = '#000000';
obj2.style.color = '#000000';
if (obj) {ColorTimer = setInterval (cch, 1);}
}

function getRadioGroupValue(radioGroupObj)
{
  for (var i=0; i < radioGroupObj.length; i++)
    if (radioGroupObj[i].checked) return radioGroupObj[i].value;

  return null;
}


function da() 
{
var v = getRadioGroupValue(document.all.multi_id); 
if (v) {cart_cart1.add('',v,'',1,'0','False');document.all.submbut.disabled='true';}
}


function getBodyScrollTop() {return self.pageYOffset || (document.documentElement && document.documentElement.scrollTop) || (document.body && document.body.scrollTop);}
function getBodyScrollLeft(){return self.pageXOffset || (document.documentElement && document.documentElement.scrollLeft) || (document.body && document.body.scrollLeft);}
function show_shipment()
{
  if(!cursor) var cursor = window.event;
  var x = 0;var y = 0;

  if (cursor.pageX || cursor.pageY) {x = cursor.pageX; y = cursor.pageY;}
  else {if (cursor.clientX || cursor.clientY) {x = cursor.clientX + getBodyScrollLeft();y = cursor.clientY + getBodyScrollTop();}}

x=x+30;
if (y>=365) {y=y-365}

document.all.shipment.style.left=x;
document.all.shipment.style.top=y;
document.all.shipment.style.display="block";

}

function selstone(param1)
{
	var sellist = document.getElementById("selst");
	icsl=sellist.length;

	if  (param1>'')
	{
		for (ics=0; ics<icsl; ics++)
		{
		if (sellist.options[ics].value==param1) sellist.options[ics].selected=true;
		}
	}
}
