//<!--


function imprimer() 
	{	
	var mac = (navigator.appVersion.indexOf("Mac") != -1); 

	if(mac) 
		alert('If you are currently using a Macintosh, please print from the "File" menu. Thank you'); 
	else    
		window.print(); 
	} 

function openwin(theURL,winName,features) 
	{
	//alert(theURL,winName,features);
	window.open(theURL,winName,features);
	}


//********************************************
//*Used best with the getfilename() in nav_functions to pass the page that should
//* be loaded into the content
//*detect_parent_loaded("<%=HOMEPAGE%>",content_url);
//********************************************
function detect_parent_loaded(parent_url,content_url)
	{
	if (window.parent==window)
		{
		document.location.replace("redirect.asp?content=" + content_url);
		}
	}

//*************************************************************
//netsape 6 and 7 returns a 5 but 4.7 is 4.7
//*************************************************************
function browser_detection(supported)
	{
	browsername=navigator.appName;
	
	if (browsername.indexOf("Netscape")!=-1) 
		{browsername="NS"}
	else
		{
		if (browsername.indexOf("Microsoft")!=-1)
			{browsername="MSIE"}
		else 
			{browsername="N/A"}};
	//detect the browserversion
	browserversion="0";
	if (navigator.appVersion.indexOf("2.")!=-1) 
		{browserversion="2"};
	if (navigator.appVersion.indexOf("3.")!=-1) 
		{browserversion="3"};
	if (navigator.appVersion.indexOf("4.")!=-1) 
		{browserversion="4"};
	if (navigator.appVersion.indexOf("5.")!=-1) 
		{browserversion="5"};
	if (navigator.appVersion.indexOf("6.")!=-1) 
		{browserversion="6"};
	if (navigator.appVersion.indexOf("7.")!=-1) 
		{browserversion="7"};
	// Send visitor to relevant pages
	if (browsername=="NS" && parseInt(browserversion)< supported) 
		{
		document.location.replace("netscape.html")
		}
	//if (browsername=="N/A") 
	//	{window.location="http://www.webcrawler.com"};
	}

//-->