// JavaScript Document
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

var w = 480, h = 340;
	if (document.all || document.layers) {
	w = screen.availWidth;
	h = screen.availHeight;	
	}
var popW = 780;
var popH = 500;
var leftPos = (w-popW)/2;
var topPos = (h-popH)/2;

//Digital Media Links//

function demo() {
	var popup=window.open('../smartnav-demo/default.htm','demo','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=' + popW + ',height=' + popH + ',top=' + topPos + ',left=' + leftPos);
	popup.focus();
}
function demo2() {
	var popup=window.open('smartnav-demo/default.htm','demo','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=' + popW + ',height=' + popH + ',top=' + topPos + ',left=' + leftPos);
	popup.focus();
}