// lazy shortcut



	d=document;

	

// image rollovers for homepage only



if (d.images) {

 demoon = new Image;

 demoon.src = "images/nav_viewdemo_over.gif";

 demooff = new Image;

 demooff.src = "images/nav_viewdemo.gif";



 newson = new Image;

 newson.src = "images/news-bar_02-over.gif";

 newsoff = new Image;

 newsoff.src = "images/news-bar_02.gif";

 

 vrsoff = new Image;

 vrsoff.src = "images/bottom_header.gif";

 vrsvalue = new Image;

 vrsvalue.src = "images/bottom_header_value.gif";

 vrsreliability = new Image;

 vrsreliability.src = "images/bottom_header_reliability.gif";

 vrssecurity = new Image;

 vrssecurity.src = "images/bottom_header_security.gif";

}

	function changeImages() {

 	 if (document.images) {

   	 for (var i=0; i<changeImages.arguments.length; i+=2) {

      document[changeImages.arguments[i]].src = eval(changeImages.arguments[i+1] + ".src");

    }

  }

}

	

	function writelink(url,name){

	d.write("<tr><td align=right><a href='"+url+"' class='subnav'>"+name+"</a></td><td width=10><img src=images/clear.gif width=10 height=10 border=0></td></tr><tr><td colspan=2><img src=images/clear.gif width=1 height=9 border=0></td></tr>");

	}

	

	function writehomelink(url,name){

	d.write("<tr><td align=right><a href='"+url+"' class='subnav'>"+name+"</a></td><td width=10><img src=images/clear.gif width=10 height=10 border=0></td></tr><tr><td colspan=2><img src=images/clear.gif width=1 height=9 border=0></td></tr>");

	}

	

// window pop



function popwin(url,name,width,height){

window.name="daddy";

var t=((screen.height/2)-(height/2));

var l=((screen.width/2)-(width/2));	

window.open(url,name,'width='+width+',height='+height+',top='+t+',left='+l+',location=0,address=0,noresize,resizable=0,toolbar=0,scrollbars=0');

}



// name inside window daddy for demo target



function namemyself(){

window.name="daddy";

}

