
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function fullscreen( pageUrl, winName ) {
  window.open( pageUrl, winName, "fullscreen=yes" );
}

function centerWindow(pageUrl, winName, w, h, scroll, resizable) {
	var winl = (screen.width - w) / 2;
	var wint = (screen.height - h) / 2;
	var wins = scroll ? 'yes' : 'no';
	var winr = resizable ? ',resizable' : '';
	winProps = 'height='+ h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+wins+winr;
	win = window.open(pageUrl, winName, winProps);
	if (parseInt(navigator.appVersion) >= 4) {
		 win.window.focus();
	}
}
// quick view
function openqv()
{
	centerWindow('qvid.html','vid',380,260,'no',false);
}
function openqnppr()
{
	centerWindow('qnppr.html','vid',375,300,'no',false);
}
// case studies
function cs( id )
{
	if ( id == 1 ) { centerWindow('qvid.html','vid',380,260,'no',false); }
	else if ( id == 2 ) { centerWindow('qvid.html','vid',375,300,'no',false); }
	else if ( id == 3 ) { centerWindow('qvid.html','vid',375,300,'no',false); }
}

// analytics
function track ( param )
{
//	alert( "tracking: " + param );
	pageTracker._trackPageview('/' + param );
}