
function fnAddToFavs( pageurl, pagetitle){
	window.external.AddFavorite( pageurl, pagetitle)
}

function setHomePage( obj, url){
	obj.style.behavior='url(#default#homepage)';
	obj.setHomePage( url);
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function MM_displayStatusMsg(msgStr) { //v1.0
  status=msgStr;
  document.MM_returnValue = true;
}


var popUpWin=0;
function popUpWindow(URLStr, left, top, width, height)
{
  if(popUpWin)
  {
    if(!popUpWin.closed) popUpWin.close();
  }
  popUpWin = open(URLStr, 'popUpWin', 'toolbar=no,location=no,directories=no,status=no,menub ar=no,scrollbars=yes,resizable=no,copyhistory=yes,width='+width+',height='+height+',left='+left+', top='+top+',screenX='+left+',screenY='+top+'');
}

function checkseach()
{
	if(form1.skey.value == 0)
	{
		alert('Please Input Skey!');
		form1.skey.focus();
		return false;
	}
	return true;
}

function loadPage(cid, pageid, skins, lans){
	document.location.href = "?id=" + cid + "&page=" + pageid + "&skin=" + skins + "&lan=" + lans;
}

