/*
--------------------------------------------------------------------------------
Main JavaScript validation 
---------------------------------------------------------------------------------
   Version        Date        Name      Desc
      1.0         17/05/2006  AEK       First version to include ExtractCrap
      1.1	  28/05/2006  AEK	Add MouseOver and MouseOut functions
---------------------------------------------------------------------------------
*/

var ColB = '#ffffff';
var ColA = '#aaaaaa';
var newwindow;         
 
function MouseOver(id)  {
var el = document.getElementById(id);
el.style.backgroundColor = ColA;

}      

function Hi()  {
alert('Say Hi!');
return true;
}     
 
function ConditionalConfirm(varMessage,varDisplayOrNot)  {
var OK = true;	

if (varDisplayOrNot=='True') {
	OK = confirm(varMessage);
} 
else {
	OK = false;
}

//alert('Say Hello!'+ OK);
return OK;

}

function MouseOut(id)  {
var el = document.getElementById(id);
el.style.backgroundColor = ColB;

}
      
