<!--
function launchLarge(itemNum,winWidth,winHeight) {
	var url = 'large/' + itemNum + '.html' ;
	if (winHeight == 'x') {
		var width = parseFloat(winWidth) + 30;
		var height = screen.availHeight - 80;
	} else {
		var width = winWidth ;
		var height = winHeight ;
	}
	var windowName = 'VGWin' ;
	if (winHeight == 'x') {
		var featureString = ',' + 'status=no,toolbar=no,directories=no,location=no,resizable=no,scrolling=yes,scrollbars=yes,favorites=no,menubar=no';
	} else {
		var featureString = ',' + 'status=no,toolbar=no,directories=no,location=no,resizable=no,scrolling=no,scrollbars=no,favorites=no,menubar=no';
	}
	var x = Math.round((screen.availWidth - width) / 2);
	var y = Math.round((screen.availHeight - height) / 2);
	windowStuff = 'left=' + x + ',top=' + y + ',width=' + width + ',height=' + height + featureString;
	return open (url, windowName, windowStuff);
}

var newItemNum = '';
var newItemDesc = '';
var newItemPrice = '';
var newItemButton = '';

function launchBuy(itemNum, itemDesc, itemPrice, itemButton) {
	newItemNum = itemNum;
	newItemDesc = itemDesc;
	newItemPrice = itemPrice;
	newItemButton = itemButton;
	var url = 'buynow.html' ;
	var width = '500' ;
	var height = '600' ;
	var windowName = 'VGBuyWin' ;
	var featureString = ',' + 'status=no,toolbar=no,directories=no,location=no,resizable=no,scrolling=yes,scrollbars=yes,favorites=no,menubar=no';
	var x = Math.round((screen.availWidth - width) / 2);
	var y = Math.round((screen.availHeight - height) / 2);
	windowStuff = 'left=' + x + ',top=' + y + ',width=' + width + ',height=' + height + featureString;
	VGBuyWin = window.open(url, windowName, windowStuff);
}

function launchTerms() {
	var url = 'terms-buy.html' ;
	var width = '500' ;
	var height = '600' ;
	var windowName = 'VGTermsWin' ;
	var featureString = ',' + 'status=no,toolbar=no,directories=no,location=no,resizable=no,scrolling=yes,scrollbars=yes,favorites=no,menubar=no';
	var x = Math.round((screen.availWidth - width) / 2);
	var y = Math.round((screen.availHeight - height) / 2);
	windowStuff = 'left=' + x + ',top=' + y + ',width=' + width + ',height=' + height + featureString;
	VGBuyWin = window.open(url, windowName, windowStuff);
}

function valForm() {
	var emailStr = document.mailingForm.email.value ;
	var emailPat = /^(.+)@(.+)$/ ;
	var matchArray = emailStr.match(emailPat) ;
	if ((document.mailingForm.email.value != '') && (matchArray==null)) {
		alert('Please enter a Valid Email Address.') ;
		document.mailingForm.email.focus();
		return false ;
	} else if (document.mailingForm.email.value == "") {
		alert("Please enter your email address.");
		document.mailingForm.email.focus();
		return false;
	} else {
		document.mailingForm.submit();
	}
}
-->
