var isMac;
var isIE;
var isNS;
isMac = IsMacIntosh();
isIE = (navigator.appName == "Microsoft Internet Explorer" && parseInt(navigator.appVersion) >= "4");
isNS = (navigator.appName == "Netscape" && parseInt(navigator.appVersion) >= "4");


function IsIE() {
//		top.resizeTo(screen.availWidth, screen.availHeight);	
//		alert("IE");
        return(isIE);
}
function IsNS() {
//		top.resizeTo(screen.outerWidth, screen.outerHeight);	
//		alert("NS");
        return(isNS);
}

function CheckBrowser()   {
      if (isIE == false && isNS == false)  {
         alert("Internet Explorer or Netscape (4.0 or higher), required!");
         return -1;	
      } 
}
function IsMacIntosh() {
   var platform = new String(navigator.platform);
// var platform = new String("MACPPC");
	
	if (platform.toUpperCase() == "MACPPC") {
//		top.resizeTo(screen.availWidth, screen.availHeight);			
		return 0;
	} 			
	return -1;
}
function Test()
{
alert("Test");
return;
}
