// JavaScript Document
// Open Window Frame Javascript
// Copyright May 08, 2006, by G.A. Calabrese, MBSI

// You have permission to copy and use this javascript provided that
// the content of the script is not changed in any way.

function pick(PageURL)
{
	if (! window.focus) return true;
	if (typeof(PageURL) == 'string')
	   href=PageURL;
	else
	   href=PageURL.href;
	
	theWindow=window.open (PageURL, "fullpage", config='height=600, width=850, toolbar=yes, menubar=no, scrollbars=yes, resizable=yes, location=no, directories=no, status=yes')
	if(window.focus) theWindow.focus();
	return false;
}

function submitViewCart() {
	document.cartView.submit();
}

function popup(file) {
	window.open(file, 'infoWindow','width=600,height=600,scrollbars=yes,resizable=yes,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0');
	infoWindow.focus;
	return true;
}

