var newsname = 'news'
var testname = 'test'
var lyco1name = 'lyco1'
var lyco2name = 'lyco2'
var lyco3name = 'lyco3'
var homename = 'home'
var aboutname = 'about'
var purchasename = 'purchase'
var productionname = 'production'
var clientsname = 'clients'
var testimonialsname = 'testimonials'
var contactname = 'contact'
var artsname = 'Arts'
var conferencesname = 'Conferences'
var leadershipname = 'Leadership'
var sportsname = 'Sports'
var copyrightyear = '2008'
var verGood = (parseInt(navigator.appVersion) >= 3)
function preload(img)
	{
	var i = new Image(); i.src=img; return i
	}
if (verGood)
	{
	mouseOutImage = preload(prefix+'images/triangle-white.gif')
	mouseOverLImage = preload(prefix+'images/triangle-left.gif')
	mouseOverRImage = preload(prefix+'images/triangle-right.gif')
	}
function setOver(imgL,imgR)
	{
	if (verGood) {imgL.src = mouseOverLImage.src; imgR.src = mouseOverRImage.src}
	}
function setOut(imgL,imgR)
	{
	if (verGood) {imgL.src = mouseOutImage.src; imgR.src = mouseOutImage.src}
	}
function writelink(pagename, source, text)
	{
	if (pagename==top.subpage.name)
		{
		document.write('<p class="self"><img src="../images/triangle-right.gif" alt="Video Age logo">')
		document.write(' ' + text + ' ')
		document.write('<img src="../images/triangle-left.gif" alt="Video Age logo"></p>')
		} else {
		document.write('<p><img src="../images/triangle-white.gif" name="' + pagename + 'L" alt="Video Age logo">')
		document.write(' <a href="' + source + '" target="_top" onmouseover="top.setOver(' + pagename + 'L, ' + pagename + 'R)" onmouseout="top.setOut(' + pagename + 'L, ' + pagename + 'R)">' + text + '</a> ')
		document.write('<img src="../images/triangle-white.gif" name="' + pagename + 'R" alt="Video Age logo"></p>')
		}
	}
function dead_or_alive(pagename, othername, text)
	{
	if (pagename == othername)
		{
		document.write(text)
		} else {
		document.write('<a href="index.htm?' + othername + '" target = "_top">' + text + '</a>')
		}
	}
function categories(pagename)
	{
	dead_or_alive(pagename, top.newsname, 'New');
	document.write(' | ');
	dead_or_alive(pagename, top.artsname, top.artsname);
	document.write(' | ');
	dead_or_alive(pagename, top.conferencesname, top.conferencesname);
	document.write(' | ');
	dead_or_alive(pagename, top.leadershipname, top.leadershipname);
	document.write(' | ');
	dead_or_alive(pagename, top.sportsname, top.sportsname);
	}
function otherCategories(page1, page2, page3)
	{
	document.write('<br>Other Categories: &nbsp;')
	document.write('<a href="index.htm?' + page1 +'" target = "_top">' + page1 +'</a> | ')
	document.write('<a href="index.htm?' + page2 +'" target = "_top">' + page2 +'</a> | ')
	document.write('<a href="index.htm?' + page3 +'" target = "_top">' + page3 +'</a>')
	}
function payPalView()
	{
	document.write('<form name="_xclick" target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">')
	document.write('<input type="image" src="../images/viewcart.gif" border="0" align="middle" name="submit" alt="Make payments with PayPal - it\'s fast, free and secure!">')
	document.write('<input type="hidden" name="cmd" value="_cart"><input type="hidden" name="business" value="ordervideo@videoagepro.com"><input type="hidden" name="display" value="1">')
	document.write('<font class="price">Your online purchases will be made securely through PayPal </font>')
	document.write('</form>')
	}
function payPalAdd(description, productname, price)
	{
	document.write('<form name="_xclick" target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">')
	document.write(description)
	document.write('<input type="image" src="../images/addtocart.gif" border="0" align="middle" name="submit" alt="Make payments with PayPal - it\'s fast, free and secure!">')
	document.write('<input type="hidden" name="add" value="1"><input type="hidden" name="cmd" value="_cart"><input type="hidden" name="business" value="ordervideo@videoagepro.com"><input type="hidden" name="item_name" value="'+productname+'"><input type="hidden" name="amount" value="'+price+'"><input type="hidden" name="return" value="http://www.videoagepro.com"><input type="hidden" name="cancel_return" value="http://www.videoagepro.com"><input type="hidden" name="no_note" value="1"><input type="hidden" name="currency_code" value="USD"><input type="hidden" name="lc" value="US">')
	document.write('</form>')
	}
function footer()
	{
	document.write('<font face="sans-serif" size="-1"><center><hr width="200"><br>')
	document.write('<a href="../index.htm" target="_top">Home</a> | ')
	dead_or_alive(top.subpage.name, top.newsname, "Killer Whales")
	document.write(' | ')
	dead_or_alive(top.subpage.name, top.aboutname, 'Who We Are')
	document.write(' | ')
	dead_or_alive(top.subpage.name, top.purchasename, 'Videos for Purchase')
	document.write(' | ')
	dead_or_alive(top.subpage.name, top.productionname, 'Production Services')
	document.write(' | ')
	dead_or_alive(top.subpage.name, top.clientsname, 'Clients')
	document.write(' | ')
	dead_or_alive(top.subpage.name, top.testimonialsname, 'Testimonials')
	document.write(' | ')
	dead_or_alive(top.subpage.name, top.contactname, 'Contact')
	document.write('<p><i>Copyright © ' + top.copyrightyear + ' Video Age Productions, Inc.<br>')
	document.write('116 Scott St., Ripon, WI 54971-1511<br>')
	document.write('Phone: (920) 748-7434<br>')
	document.write('<<a href="mailto:vap@videoagepro.com">vap@videoagepro.com</a>><i></p>')
	document.write('</center></font>')
	}