// ---------------------- BEGIN: change button images onMouseOver
// (1) To add "https://global.go.com/secure/video2/images/image1.gif" and "https://global.go.com/secure/video2/images/image2.gif", populate imgAry like this: Array('image1','image2')
// (2) There must be a corresponding "image1_on.gif" image in the same directory as "image1.gif"
// (3) The 'A' tag must contain: onMouseOver="dark2lite('image1')" onMouseOut="lite2dark('image1')"
// (4) The 'IMG' tag must contain: NAME="image1"
if (document.images) {
	// array of image names
	var imgAry = new Array('nav_home','nav_report','nav_title','nav_faq','nav_general','nav_register','nav_order','nav_vcom');

	// path where images are located
	var imgLoc = 'https://global.go.com/secure/video2/images/';
	
	// loads all the images before the page is displayed so there is no delay when changing images
	for (var i=0; i < imgAry.length; i++) {	
		eval(imgAry[i] + '_lit = new Image()');
		eval(imgAry[i] + '_lit.src = "' + imgLoc + imgAry[i] + '_on.gif"');
		
		eval(imgAry[i] + '_drk = new Image()');
		eval(imgAry[i] + '_drk.src = "' + imgLoc + imgAry[i] + '.gif"');
	}
}

function dark2lite(sImgName) {
	if (document.images) eval('document.' + sImgName + '.src = ' + sImgName + '_lit.src');
}

function lite2dark(sImgName) {
	if (document.images) eval('document.' + sImgName + '.src = ' + sImgName + '_drk.src');
}
// ---------------------- END: change button images onMouseOver

function nav(type){
	if (type=="top"){
	
//start header code
document.writeln('<table border="0" cellpadding="0" cellspacing="0" width="770">');
document.writeln('<tr>');
document.writeln('<td background="https://global.go.com/secure/video2/images/nav_bg.gif"><img src="https://global.go.com/secure/video2/images/nav_bg.gif" width="41" height="19" alt="" border="0"></td>');

//home
document.writeln('<td background="https://global.go.com/secure/video2/images/nav_bg.gif"><a href="http://video.com/support/home.html" onMouseOver="dark2lite(\'nav_home\')" onMouseOut="lite2dark(\'nav_home\')"><img NAME="nav_home" src="https://global.go.com/secure/video2/images/nav_home.gif" width="33" height="19" alt="Home" border="0"></a></td>');
document.writeln('<td background="https://global.go.com/secure/video2/images/nav_bg.gif"><img src="https://global.go.com/secure/video2/images/nav_bg.gif" width="14" height="19" alt="" border="0"></td>');

//register
document.writeln('<td background="https://global.go.com/secure/video2/images/nav_bg.gif"><a href="http://video.go.com/support/register.html" onMouseOver="dark2lite(\'nav_register\')" onMouseOut="lite2dark(\'nav_register\')"><img NAME="nav_register" src="https://global.go.com/secure/video2/images/nav_register.gif" width="97" height="19" alt="Register Your DVD" border="0"></a></td>');
document.writeln('<td background="https://global.go.com/secure/video2/images/nav_bg.gif"><img src="https://global.go.com/secure/video2/images/nav_bg.gif" width="14" height="19" alt="" border="0"></td>');

//vvault
document.writeln('<td background="https://global.go.com/secure/video2/images/nav_bg.gif"><a href="http://bvhe.video.go.com/tracking_general.html?url=bvhe.video.go.com/titlesaz/index.html&mlc=/dvdsupport2/tracking/exit+links;/tracking/exit+links/general/dvdsupport2&pn=vault" onMouseOver="dark2lite(\'nav_order\')" onMouseOut="lite2dark(\'nav_order\')"><img NAME="nav_order" src="https://global.go.com/secure/video2/images/nav_order.gif" width="59" height="19" alt="Video Vault" border="0"></a></td>');
document.writeln('<td background="https://global.go.com/secure/video2/images/nav_bg.gif"><img src="https://global.go.com/secure/video2/images/nav_bg.gif" width="14" height="19" alt="" border="0"></td>');	

//faq
document.writeln('<td background="https://global.go.com/secure/video2/images/nav_bg.gif"><a href="http://video.com/support/faq.html" onMouseOver="dark2lite(\'nav_faq\')" onMouseOut="lite2dark(\'nav_faq\')"><img NAME="nav_faq" src="https://global.go.com/secure/video2/images/nav_faq.gif" width="30" height="19" alt="Frequently Asked Questions" border="0"></a></td>');
document.writeln('<td background="https://global.go.com/secure/video2/images/nav_bg.gif"><img src="https://global.go.com/secure/video2/images/nav_bg.gif" width="14" height="19" alt="" border="0"></td>');

//feedback
document.writeln('<td background="https://global.go.com/secure/video2/images/nav_bg.gif"><a href="http://studio.go.com/cgi-bin/gmail/generic_mail.cgi?template=video/vid_dvd_feedback/feedback.tpl" onMouseOver="dark2lite(\'nav_general\')" onMouseOut="lite2dark(\'nav_general\')"><img NAME="nav_general" src="https://global.go.com/secure/video2/images/nav_general.gif" width="95" height="19" alt="General Feedback" border="0"></a></td>');
document.writeln('<td background="https://global.go.com/secure/video2/images/nav_bg.gif"><img src="https://global.go.com/secure/video2/images/nav_bg.gif" width="11" height="19" alt="" border="0"></td>');

//report
document.writeln('<td background="https://global.go.com/secure/video2/images/nav_bg.gif"><a href="http://studio.go.com/cgi-bin/gmail/generic_mail.cgi?template=video/vid_dvd_report_a_problem/report.tpl" onMouseOver="dark2lite(\'nav_report\')" onMouseOut="lite2dark(\'nav_report\')"><img NAME="nav_report" src="https://global.go.com/secure/video2/images/nav_report.gif" width="93" height="19" alt="Report a Problem" border="0"></a></td>');
document.writeln('<td background="https://global.go.com/secure/video2/images/nav_bg.gif"><img src="https://global.go.com/secure/video2/images/nav_bg.gif" width="14" height="19" alt="" border="0"></td>');

//vcom
document.writeln('<td background="https://global.go.com/secure/video2/images/nav_bg.gif"><a href="http://bvhe.video.go.com/tracking_general.html?url=www.video.com&mlc=/dvdsupport2/tracking/exit+links;/tracking/exit+links/general/dvdsupport2&pn=videocom" onMouseOver="dark2lite(\'nav_vcom\')" onMouseOut="lite2dark(\'nav_vcom\')"><img NAME="nav_vcom" src="https://global.go.com/secure/video2/images/nav_vcom.gif" width="95" height="19" alt="Go to VIDEO.COM" border="0"></a></td>');
document.writeln('<td background="https://global.go.com/secure/video2/images/nav_bg.gif"><img src="https://global.go.com/secure/video2/images/nav_bg.gif" width="11" height="19" alt="" border="0"></td>');
document.writeln('</tr>');
document.writeln('</table>');
//end header code

	}else if (type=="footer"){

//start footer code
document.writeln('<FONT face="verdana, arial, helvetica, sans-serif" size="1">');
//register
document.writeln('<a href="http://video.go.com/support/register.html">Register Your DVD</a>&nbsp;&nbsp;');
//vvault
document.writeln('<a href="http://bvhe.video.go.com/tracking_general.html?url=bvhe.video.go.com/titlesaz/index.html&mlc=/dvdsupport2/tracking/exit+links;/tracking/exit+links/general/dvdsupport2&pn=vault">Video Vault</a>&nbsp;&nbsp;');
//faq
document.writeln('<a href="http://video.go.com/support/faq.html">FAQs</a><Br>');
//feedback
document.writeln('<a href="http://studio.go.com/cgi-bin/gmail/generic_mail.cgi?template=video/vid_dvd_feedback/feedback.tpl">General Feedback</a>&nbsp;&nbsp;');
//report
document.writeln('<a href="http://studio.go.com/cgi-bin/gmail/generic_mail.cgi?template=video/vid_dvd_report_a_problem/report.tpl">Report a Problem</a>&nbsp;&nbsp;');
//vcom
document.writeln('<a href="http://bvhe.video.go.com/tracking_general.html?url=www.video.com&mlc=/dvdsupport2/tracking/exit+links;/tracking/exit+links/general/dvdsupport2&pn=videocom">Go to VIDEO.COM</a>');
document.writeln('</font>');
//end footer code

	}
}