<!--
onError=null
// -->

<!-- DROP DOWN MENU -->
<!--
function gotopage() {
  if (document.dpdown.choice.selectedIndex==0) return;
  if (document.dpdown.choice.selectedIndex==1) { location.href="../home/index.html"; }
  if (document.dpdown.choice.selectedIndex==2) { location.href="../home/fitness/index.html"; }
  if (document.dpdown.choice.selectedIndex==3) { location.href="../home/quotes/index.html"; }
  if (document.dpdown.choice.selectedIndex==4) { location.href="../home/album/index.html"; }
  if (document.dpdown.choice.selectedIndex==5) { location.href="../home/files/site_map.html"; }
  if (document.dpdown.choice.selectedIndex==6) { location.href="files/contact.html"; }
}
// -->

<!-- BOOKMARK -->
<!--
function bookmark() {
 if (document.all)
 window.external.AddFavorite("http://sivamdesign.com/scripts/popups.html","Sandeep\'s JavaScript Page (Pop-ups)");
 }
// -->

<!-- AUTO CLOSING CUSTOMIZED POP-UP -->
<!--
function win() {
W=window.open('dwld/window.html','NewWin','toolbar=no,status=no,width=350,height=135,scrollbars')
W.moveTo(190,240);
}
// -->

<!-- ON THE BUTTON POP-UP -->
<!--
var X = 200;
var Y = 200;

if (navigator.appName.indexOf("Netscape")!=-1) {
document.captureEvents(Event.MOUSEMOVE)
function getcoords(e) {
X = parseInt(e.screenX) - 120;
Y = parseInt(e.screenY) - 60;
return true;}  
document.onmousemove = getcoords;

function open_win() {

if (navigator.appName.indexOf("Microsoft")!=-1) {
X = parseInt(event.screenX) - 120;
Y = parseInt(event.screenY) - 60; }

SW=window.open("","NewWin","menubar=0,location=no,status=no,directories=no,toolbar=no,scrollbars=yes,width=250,height=135,resizable=yes");
SW.moveTo(X,Y);
 }
}
// -->

<!-- POP-UP CHECKBOX NAVIGATION MENU -->
<!--
var X = 200;
var Y = 200;

if (navigator.appName.indexOf("Netscape")!=-1) {
document.captureEvents(Event.MOUSEMOVE)
function getcoords(e) {
X = parseInt(e.screenX) - 80;
Y = parseInt(e.screenY) - 60;
return true;}  
document.onmousemove = getcoords;

function openWin() {

if (navigator.appName.indexOf("Microsoft")!=-1) {
X = parseInt(event.screenX) - 80;
Y = parseInt(event.screenY) - 60; }

  display=window.open('','NewWin','menubar=0,location=no,status=no,directories=no,toolbar=no,scrollbars=yes,height=110,width=190')
  code="<font face='verdana, arial, helvetica, san-serif' size='2'><form>";
  code+="<input type='checkbox' onClick=window.open('http://www.microsoft.com/','') onBlur='window.close();' />Microsoft Corp.<br />";
  code+="<input type='checkbox' onClick=window.open('http://home.netscape.com/','') onBlur='window.close();' />Netscape Corp.<br />";
  code+="<input type='checkbox' onClick=window.open('http://www.macromedia.com','') onBlur='window.close();' />Macromedia Inc.<br />";
  code+="<input type='checkbox' onClick=window.open('http://www.symantec.com','') onBlur='window.close();' />Symantec Corp.<br />";
  code+="</form></font>";
  display.moveTo(X,Y);
  display.document.write(code); }
}
// -->

<!-- ALWAYS ON TOP POP-UP -->
<!--
function topwin() {
TW=window.open('dwld/topwind.html','NewWin','toolbar=no,status=no,width=350,height=135')
TW.moveTo(190,240); }
//-->

<!-- AUTO HIDE POP-UP -->
<!--
function unobtrus() {
BcW=window.open('dwld/backwind.html','NewWin','toolbar=no,status=no,width=350,height=135')
BcW.moveTo(190,240); }
//-->

<!-- AUTO HIDE/SHOW POP-UP -->
<!--
function showhide() {
VW=window.open('dwld/shift.html','NewWin','toolbar=no,menubar=no,location=no,resizable=no,status=no,width=350,height=135,scrollbars=no')
VW.moveTo(10,10); }
// -->

<!-- HIDDEN POP-UP -->
<!--
function hide() {
POP=window.open('dwld/hidden.html','NewWin','toolbar=no,status=no,width=350,height=135')
POP.moveTo(190,240); }
//-->

<!-- SCROLLING POP-UP - I -->
<!--
function scroll1() {
if (navigator.appName == "Microsoft Internet Explorer") {
 Win=window.open('dwld/scroll1.html','NewWin','toolbar=no,status=no,width=350,height=135,scrollbars=no') }
else {
 Win=window.open('dwld/scroll1.html','NewWin','toolbar=no,status=no,width=350,height=135,scrollbars=yes') }
Win.moveTo(190,240);
}
// -->

<!-- SCROLLING POP-UP - II -->
<!--
function scroll2() {
if (navigator.appName == "Microsoft Internet Explorer") {
 Win1=window.open('dwld/scroll2.html','NewWin','toolbar=no,status=no,width=350,height=135,scrollbars=no') }
else {
 Win1=window.open('dwld/scroll2.html','NewWin','toolbar=no,status=no,width=350,height=135,scrollbars=yes') }
Win1.moveTo(190,240);
}
// -->

<!-- CENTRED POP-UP -->
<!--
c = parseInt(window.screen.width) / 2 - 175;
d = parseInt(window.screen.height) / 2 - 67;

function centeredWin() {
CW=window.open('','NewWin','toolbar=no,menubar=no,location=no,resizable=no,status=no,width=350,height=135,scrollbars=no')
CW.moveTo(c,d);
}
// -->

<!-- MOVING POP-UP -->
<!--
function movingWin() {
DE=window.open('dwld/moving.html','','toolbar=no,menubar=no,location=no,resizable=no,status=no,width=350,height=135,scrollbars=no')
DE.moveTo(10,10);
}
// -->

<!-- RESIZEABLE POP-UP -->
<!--
function resizerWin() {
RE=window.open('dwld/resizer.html','NewWin','toolbar=no,menubar=no,location=no,resizable=yes,status=no,width=220,height=130,scrollbars=no')
RE.moveTo(100,100); }
// -->

<!-- COOKIE ENABLED POP-UP -->
<!--
function newCookie(name,value,days) {
 var days = 1;
 if (days) {
   var date = new Date();
   date.setTime(date.getTime()+(days*24*60*60*1000));
   var expires = "; expires="+date.toGMTString(); }
   else var expires = "";
   document.cookie = name+"="+value+expires+"; path=/"; }

function readCookie(name) {
   var nameSG = name + "=";
   var ca = document.cookie.split(';');
  for(var i=0; i<ca.length; i++) {
    var c = ca[i];
    while (c.charAt(0)==' ') c = c.substring(1,c.length);
  if (c.indexOf(nameSG) == 0) return c.substring(nameSG.length,c.length); }
    return null; }

function eraseCookie(name) {
  newCookie(name,"",1); }

function amt() {
  var num = readCookie('sancookie1')
  if (num < 1) { 
  newCookie('sancookie1','testcookie1');
 SW2=window.open('dwld/scroll2.html','NewWin','toolbar=no,status=no,width=350,height=135,scrollbars')
 SW2.moveTo(190,240); }
}
//-->

