// ---------- browser detect -----------------------------

var get_platform;
  
if (navigator.platform.indexOf("Mac") >= 0) {
    get_platform = "mac";
}
else if (navigator.platform.indexOf("Win") >= 0) {
    get_platform = "win";
}
 
if (get_platform == "win") { 
	document.write("<link rel=stylesheet href=\"styles/styles_win.css \"type=\"text/css\">"); 
} 

if (get_platform == "mac") {
	document.write("<link rel=stylesheet href=\"styles/styles_mac.css \"type=\"text/css\">");
}
	
// logo random rotation

function i3() {
	image3 = new Array(4);
	image3[0]  = '"images/logos/intel.gif" alt="Intel Authorized" width="58" height="34" border="0" vspace="4"';
	image3[1]  = '"images/logos/cisco.gif" alt="Cisco Authorized" width="91" height="44" border="0" vspace="4"';
	image3[2]  = '"images/logos/sym.gif" alt="Symantec Authorized" width="98" height="20" border="0" vspace="4"';
	image3[3]  = '"images/logos/mcafee.gif" alt="McAfee Authorized" width="83" height="27" border="0" vspace="4"';
	
	
	random3 = Math.floor(Math.random() * image3.length);
	document.write("<a href='services_authorization.php'><img src="+image3[random3]+"></a>");
}
function i4() {
	image4 = new Array(3);
	image4[0]  = '"images/logos/LinkSys_Partner.gif" alt="LinkSys Authorized" width="100" border="0" vspace="4"';
	image4[1]  = '"images/logos/3com.gif" alt="3Com Authorized" width="60" height="45" border="0" vspace="4"';
	image4[2]  = '"images/logos/Belkin.gif" alt="Belkin" width="100" border="0" vspace="4"';
	
	random4 = Math.floor(Math.random() * image4.length);
	document.write("<a href='services_authorization.php'><img src="+image4[random4]+"></a>");
}

/*
function i5() {
	image5 = new Array(2);
	image5[0]  = '"images/logos/sym.gif" alt="Symantec Authorized" width="98" height="20" border="0" vspace="4"';
	
	random5 = Math.floor(Math.random() * image5.length);
	document.write("<a href='services_authorization.php'><img src="+image5[random5]+"></a>");
}

function i6() {
	image6 = new Array(3);
	image6[0]  = '"images/logos/3com.gif" alt="3Com Authorized" width="60" height="45" border="0" vspace="4"';
	image6[1]  = '"images/logos/msbo.gif" alt="MS Back Ofiice" width="98" height="43" border="0" vspace="4"';
	image6[2]  = '"images/logos/asante.gif" alt="Asante Authorized" width="92" height="31" border="0" vspace="4"';
	
	random6 = Math.floor(Math.random() * image6.length);
	document.write("<a href='services_authorization.php'><img src="+image6[random6]+"></a>");
}
*/

// pop-up window

function openWin(url,win_name,ww,hh) {
	var imageWin=window.open(url,win_name, "toolbar=1,width="+ww+",height="+hh+",status=0,scrollbars=1,resizable=1,menbar=0");
}

// date stamp

var isnMonths = new Array("January","February","March","April","May","June","July","August","September","October","November","December");
var today = new Date();
var years  = today.getYear();
if (years < 1900) years += 1900;