﻿// JScript File
if (top.location!= self.location) { 
top.location = self.location.href 
} 

function nw(url,w,h){



var sw = 480, sh = 340;

if (document.all) {
   /* the following is only available after onLoad */
   sw = document.body.clientWidth;
   sh = document.body.clientHeight;
}
else if (document.layers) {
   sw = window.innerWidth;
   sh = window.innerHeight;
}

var leftPos = (sw-w)/2, topPos = (sh-h)/2;


newwindow=window.open(url,'settings','width=' + w +',height=' + h + ',top=' + topPos + ',left=' + leftPos + ',status=no,scrollbars=1;toolbar=no,location=no,directories=no,menubar=no,resizable=yes'); 
newwindow.focus();
}


function ts(obj,val){
    if (obj.value==val)
    {
    obj.value='';
    }
}


function to(obj,val){
    if (obj.value=='')
    {
    obj.value=val;
    }
}