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

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

<!-- DROP-DOWN NAVIGATION MENU - I -->
<!--
function gopage(theLink) {
 if (document.dropdown.theLink.value != "") {
  location.href = document.dropdown.theLink.value;
 }
}
// -->

<!-- DROP-DOWN NAVIGATION MENU - II -->
<!--
function gopage1(theLink1) {
 if (document.dropdown1.theLink1.value != "") {
  location.href = document.dropdown1.theLink1.value;
 }
}
// -->

<!-- DROP-DOWN MENU WITH EXPLANATORY TEXT -->
<!--
var mess=new Array();
mess[0] = "When you select any links from the above menu their corresponding explanatory content will automatically be shown in this textarea. By clicking the 'Go' button you will be taken straight to the chosen link!"
mess[1] = "For some free and useful scripts that have been created keeping in mind their usability, practicability, and compatibility. Be sure to check them all!"
mess[2] = "The free complete web development resource center. The one place to go for all your web designing needs and for some very useful freeware programs and links to some of the best available web resources!"
mess[3] = "The best place to go for some very useful free DHTML scripts to enhance your web pages. Also including features such as a new forum, newsletter, feedback form, and more."

function chooseText() {
if (document.drp.cho.selectedIndex==0) { document.drp.txt.value=mess[0]; }
if (document.drp.cho.selectedIndex==1) { document.drp.txt.value=mess[1]; }
if (document.drp.cho.selectedIndex==2) { document.drp.txt.value=mess[2]; }
if (document.drp.cho.selectedIndex==3) { document.drp.txt.value=mess[3]; }
 }

function gotoURL() {
if (document.drp.cho.selectedIndex==0) { return; }
if (document.drp.cho.selectedIndex==1) { location.href="index.html"; }
if (document.drp.cho.selectedIndex==2) { location.href="http://www.designerwiz.com/"; }
if (document.drp.cho.selectedIndex==3) { location.href="http://www.dynamicdrive.com/"; }
 }

//-->

<!-- 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); }
}
// -->

<!-- CUSTOM LOCATION BAR -->
<!--
function goURL() {
  parent.location.href=document.theURL.location.value;
 }
//-->

<!-- CHANGING VALUE BUTTON LINK -->
<!--
 var count = 0;
 var msg = new Array();
  msg[0] = "Microsoft"
  msg[1] = "Netscape"
  msg[2] = "Macromedia"
  msg[3] = "Symantec"

function buttonText() {
  if (msg.length > 0) {
   document.menu1.but.value=msg[count];
   count++; }
  if (count == 4) { count = 0; }
  window.setTimeout("buttonText()", 2000); }

function gotheURL() {
 if (document.menu1.but.value=="Microsoft") { parent.location.href="http://www.microsoft.com/"; }
 if (document.menu1.but.value=="Netscape") { parent.location.href="http://home.netscape.com/"; }
 if (document.menu1.but.value== "Macromedia") { parent.location.href="http://www.macromedia.com"; }
 if (document.menu1.but.value=="Symantec") { parent.location.href="http://www.symantec.com"; } }
//-->

<!-- CHANGING VALUE DROP DOWN LINK -->
<!--
 var val = 0;
function changingLinks() {
 val++;
  if (val == 1) { document.menu.choice2.selectedIndex = 0; }
  if (val == 2) { document.menu.choice2.selectedIndex = 1; }
  if (val == 3) { document.menu.choice2.selectedIndex = 2; }
  if (val == 4) { document.menu.choice2.selectedIndex = 3; }
  if (val == 5) { val = 0; }
 timer = window.setTimeout("changingLinks()", 2000); }

function stopIt() {
 window.clearTimeout(timer); }

function goHere() {
 if (document.menu.choice2.selectedIndex == 0) { parent.location.href="http://www.microsoft.com/"; }
 if (document.menu.choice2.selectedIndex == 1) { parent.location.href="http://home.netscape.com/"; }
 if (document.menu.choice2.selectedIndex == 2) { parent.location.href="http://www.macromedia.com"; }
 if (document.menu.choice2.selectedIndex == 3) { parent.location.href="http://www.symantec.com"; } }
//-->
