function openwin(url, width, height) {
	var Win = window.open(url,"openwin",'width=' + width + ',height=' + height + ',resizable=1,scrollbars=yes,menubar=no,status=no' );
};

function setsmile() {
	if (document.forms[0].smilies.checked) {
		document.smile.src="images/emoticons/smile.gif";			
	} else {
		document.smile.src="images/emoticons/2up.gif";
	};
};

function MM_displayStatusMsg(msgStr) { //v1.0
  status=msgStr;
  document.MM_returnValue = true;
}

function highlight(obj, state) {
	var docObj = document.getElementById(obj);
  	if (docObj.style)
  	{
	  	if (state == 0) {
    		docObj.style.backgroundColor = "#F1F2EA";
    		//docObj.style.border["bottom"].color = "#000000";
    		//docObj.style.border-left.color = rgb(0,0,0);
    	} else {
    		docObj.style.backgroundColor = "";
    		//docObj.style.border["bottom"].color = "#E4E6D2";
    		//docObj.style.border-left-color = rgb(0,0,0);
    	}
  	}
}

