
function sitePopup(url) {  
 lrgWindow=window.open(url,"pic","scrollbars=yes,menubar=no,width=800,height=650,resizable=yes");  
}

function sitePopupSmall(url) {  
 lrgWindow=window.open(url,"pic","scrollbars=yes,menubar=no,width=400,height=500,resizable=yes");  
}

function sitePopupMedPortrait(url) {  
 lrgWindow=window.open(url,"pic","scrollbars=yes,menubar=no,width=700,height=700,resizable=yes");  
}


function printWindow() {
bV = parseInt(navigator.appVersion);
if (bV >= 4) window.print();
}

function sitePopupPrint(url) {  
 lrgWindow=window.open(url,"pic","scrollbars=yes,menubar=no,width=630,height=480,resizable=yes");  
 lrgWindow.print();
}

function sitePopupPrintLandscape(url) {  
 lrgWindow=window.open(url,"pic","scrollbars=yes,menubar=no,width=800,height=600,resizable=yes");  
 lrgWindow.print();
}


//tabing script				
var lastNav;
	
// Switching tab on
function step(screenName) {
	if (lastNav) {
		document.getElementById(lastNav).style.display = 'none';
		document.getElementById(lastNav).style.visibility = 'hidden';
	}

	document.getElementById(screenName).style.display = 'block';
	document.getElementById(screenName).style.visibility = 'visible';
	lastNav = screenName;
}
	
// Switching tabs off
function stepOff(screenName) {
	document.getElementById(screenName).style.display = 'none';
	document.getElementById(screenName).style.visibility = 'hidden';
	lastNav = screenName;
}

function MM_preloadImages() { //v3.0
	var a=MM_preloadImages.arguments;
	var d=document; 
	if (d.images) { 
		if(!d.MM_p) d.MM_p=new Array();
		var i;
		var j=d.MM_p.length;
		for(i=0;i < a.length; i++) {
			if (a[i].indexOf("#")!=0){ 
				d.MM_p[j]=new Image; 
				d.MM_p[j++].src=a[i];
			}
		}	
	}
}


