
var dayArray=new Array("Sun","Mon","Tues","Wednes","Thurs","Fri","Satur")
var monthArray=new Array("Jan.","Feb.","Mar.","Apr.","May","June","July","Aug.","Sep.","Oct.","Nov.","Dec.")

function movein(which)
{
   which.style.background='#C3C3C3'
   //which.style.color='#003366'
}

function moveout(which)
{
   which.style.background='#E2E2E2'
   //which.style.color='#000000'
}
function openwinphoto(filename)
{
   window.open(filename,"_blank",'width=625,height=475,top=100');
}
function openwin(filename)
{
   window.open(filename,"_blank",'width=450,height=290,top=100');
}
function openwinCricket(filename)
{
   window.open(filename,"_blank",'width=840,height=450,top=115,left=90,scrollbars=yes');
}
function todayDate()
{
    var tdate = new Date()
    var d1=tdate.getDate()
    var sup="th"
    if (d1==1 || d1==21 || d1==31)
	 sup="st"
    else if (d1==2 || d1==22)
	 sup="nd"
    else if (d1==3 || d1==23)
	 sup="rd" 
    var cdate=dayArray[tdate.getDay()]+"day, "+d1+ sup +" "+ monthArray[tdate.getMonth()] +" "+tdate.getYear()+""
    document.write(cdate)
}

function disableselect(e){
return false
}

function reEnable(){
return true
}

document.onselectstart=new Function ("return false")

if (window.sidebar){
document.onmousedown=disableselect
document.onclick=reEnable
}

var message="Permission Restricted @ nselva.com";
function click(e) {
if (document.all) {
if (event.button == 2) {
alert(message);
return false;
}
}
if (document.layers) {
if (e.which == 3) {
alert(message);
return false;
}
}
}
if (document.layers) {
document.captureEvents(Event.MOUSEDOWN);
}
document.onmousedown=click;

statuss();function statuss()
{
window.status = "www.nselva.com - Selvakumar";
setTimeout("statuss()", 1);
}