function swapIMG(imgid,swapimg){
	document.getElementById(imgid).src = swapimg;
}

function swapBG(imgid,bgimg,iefilter){
	document.getElementById(imgid).style.background = "url(" + bgimg + ")";
	if(iefilter) {//runtimeStyle
		document.getElementById(imgid).style.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + bgimg + "',sizingMethod='crop')";
		//document.getElementById(imgid).style = "background: url('" + bgimg + "') no-repeat; *background-image:none; filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + bgimg + "',sizingMethod='crop')";
	}
}
function MM_jumpMenuGo(objId,targ,restore){ //v9.0
  var selObj = null;  with (document) { 
  if (getElementById) selObj = getElementById(objId);
  if (selObj) eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0; }
}
/*popups*/
function openWin(url) 
{
 var width  = 320;
 var height = 240;
 var left   = (screen.width  - width)/2;
 var top    = (screen.height - height)/2;
 var params = 'width='+width+', height='+height;
 params += ', top='+top+', left='+left;
 params += ', directories=no';
 params += ', location=no';
 params += ', menubar=no';
 params += ', resizable=no';
 params += ', scrollbars=no';
 params += ', status=yes';
 params += ', toolbar=no';
 newwin=window.open(url,'openwin', params);
 if (window.focus) {newwin.focus()}
 return false;
}

