<SCRIPT ID=clientEventHandlersJS LANGUAGE=javascript>
var lastcondition;
function tr1_onmouseover(index) { 
	eval("tr"+index).style.backgroundColor="#D6F3D6";
	eval("tr"+index).style.color="#000000";
}

function tr1_onmouseout(index) { 
	if (0 == index % 2){
		eval("tr"+index).style.backgroundColor="";
		eval("tr"+index).style.color="black";
	}
	else
	{
		eval("tr"+index).style.backgroundColor="#ebf3f5";
		eval("tr"+index).style.color="black";
	}
}
</SCRIPT>
//Function to jump to another forum
function ForumJump(URL) {
	
	if (URL.options[URL.selectedIndex].value != "") self.location.href = URL.options[URL.selectedIndex].value;	
	return true;
}

//Function to open pop up window
function openWin(theURL,winName,features) {
  	window.open(theURL,winName,features);
}


//Function to open preview post window
function OpenPreviewWindow(targetPage, formName){
	
	now = new Date  
	
	//Open the window first 	
   	openWin('','preview','toolbar=0,location=0,status=0,menubar=0,scrollbars=1,resizable=0,width=780,height=400')
   		
   	//Now submit form to the new window
   	formName.action = targetPage + "?ID=" + now.getTime();	
	formName.target = "preview";
	formName.submit();
}