var combowidth='';
var comboheight='';


function getClientWidth()
{
  return document.compatMode=='CSS1Compat' && !window.opera?document.documentElement.clientWidth:document.body.clientWidth;
}

function getClientHeight()
{
  return document.compatMode=='CSS1Compat' && !window.opera?document.documentElement.clientHeight:document.body.clientHeight;
}

function initialize(){
combowidth=cartwindow.offsetWidth;
comboheight=cartwindow.offsetHeight;
Width = getClientWidth();
Height = getClientHeight();
if(document.all){
cartwindow.style.pixelLeft=Width-combowidth-10;
cartwindow.style.pixelTop=Height-comboheight;

               if(navigator.appName == "Microsoft Internet Explorer"){
               cartwindow.filters.revealTrans.Apply();
               cartwindow.filters.revealTrans.Play();
			   }
}else{
     cartwindow.style.left=(Width-combowidth-10) + "px";
	 cartwindow.style.top=(Height-comboheight) + "px";
     }
cartwindow.style.visibility="visible";
}

function initialize_off(){
cartwindow.style.visibility="hidden";
}


function staticit_ie(){
cartwindow.style.pixelLeft=document.body.scrollLeft+document.body.clientWidth-combowidth-30;
cartwindow.style.pixelTop=document.body.scrollTop+document.body.clientHeight-comboheight;
}

function startmessage(){
setTimeout("initialize()",500);
}


function show_on(a){
document.getElementById(a).style.background='#DDDDFF';
}

function show_out(a){
document.getElementById(a).style.background='white';
}
