//JAVASCRIPT FOR SPOTLIGHT TERRIER MESSAGES
//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('','feedwin','toolbar=0,location=0,status=0,menubar=0,scrollbars=0,resizable=0,width=350,height=100')
   		
   	//Now submit form to the new window
   	formName.action = targetPage + "?ID=" + now.getTime();	
	formName.method = "post";
	formName.target = "feedwin";
	formName.submit();
}
function imOvr(src,clrOver) { 
        if (!src.contains(event.fromElement)) { 
                src.style.background = clrOver; 
		}
}
function imOut(src,clrIn) { 
        if (!src.contains(event.toElement)) { 
                src.style.background = clrIn; 
		}
} 
