
function emailvalidation(entered, alertbox)
{
// E-mail Validation by Henrik Petersen / NetKontoret
// Explained at www.echoecho.com/jsforms.htm
// Please do not remove this line and the two lines above.
with (entered)
{
apos=value.indexOf("@"); 
dotpos=value.lastIndexOf(".");
lastpos=value.length-1;
if (apos<1 || dotpos-apos<2 || lastpos-dotpos>3 || lastpos-dotpos<2) 
{if (alertbox) {alert(alertbox);} return false;}
else {return true;}
}
} 

function emptyvalidation(entered, alertbox)
{
// Emptyfield Validation by Henrik Petersen / NetKontoret
// Explained at www.echoecho.com/jsforms.htm
// Please do not remove this line and the two lines above.
with (entered)
{
if (value==null || value=="")
{if (alertbox!="") {alert(alertbox);} return false;}
else {return true;}
}
} 

function checkdropdown(entered, alertbox)
{
// no selection made
with (entered)
{
if (value==0)
{if (alertbox!="") {alert(alertbox);} return false;}
else {return true;}
}
} 


function printWindow() {
bV = parseInt(navigator.appVersion);
if (bV >= 4) window.print();
}


var Text="CJ's rocks!!!!!!!!!!!."   
var Pos=1    
function UpdateStatusBar()
{    
window.status=Text.substring(0,Pos++)    
if (Pos==Text.length) 
Pos=0    
setTimeout("UpdateStatusBar()",Math.random()*500)   
}    
UpdateStatusBar()  


function copyrightDate(){
wriYr = new Date
var doYr = wriYr.getFullYear()
document.write("<B>&copy 1997 - " + doYr + "</B>")
}

