//var br=new Array(4);
var os=new Array(2);
//var flash=new Array(2);
//br=getBrowser();
os=getOS();
//flash=hasFlashPlugin();
//jsver = jsVersion();
GetSwfVer();
//allowed = popupsAllowed();
var cookie = "disabled";

Get_Cookie("CookieTest", "Enabled");
if ("Enabled"){
		cookie = "Enabled";
}

var i_activex = false;
var i_activexgecko = false;
if (typeof(GeckoActiveXObject) != "undefined")
i_activexgecko = true;
if (typeof(window.ActiveXObject) != "undefined")
i_activex = true;


document.write("<table>");
document.write("<tr>");
document.write("<td width=15px>");
document.write("</td>");
document.write("<td valign=top>");

document.write("<form action=submitSystemTest.cfm method=post>");
					document.write("<table cellspacing=5px width=700px>");
						document.write("<tr>");
							document.write("<td valign=top colspan=3>");
								document.write('If you would like to submit your information to our Technical Support team, please input your name and e-mail address below, then press "Send". Having access to detailed information about your system may help us resolve support issues more quickly.<br><br>');
							document.write("</td>");
						document.write("</tr>");
						
						
						document.write("<tr>");
							document.write("<td valign=top>");
								document.write("<label for=studentFirstName>Name:</label>");
							document.write("</td>");
							document.write("<td valign=top align=left>");
								document.write("<input type=text name=studentFirstName size=35 /> <br>");
							document.write("</td>");
						document.write("</tr>");
						
						
						document.write("<tr>");
							document.write("<td valign=top>");
								document.write("<label for=studentEmail>E-mail Address:</label>");
							document.write("</td>");
							document.write("<td valign=top>");
								document.write("<input type=text name=studentEmail size=35/>");
							document.write("</td>");
						document.write("</tr>");
						
						document.write("<tr>");
							document.write("<td valign=top>");
							document.write("</td>");
							document.write("<td valign=top>");
								document.write("<input type=submit name=submit value=Send />");
							document.write("</td>");
							
						document.write("</tr>");
						
						document.write("<tr>");
						document.write("<td valign=top colspan=2>");
						document.write("<br>");
						document.write("</td>");
						document.write("</tr>");
						
						document.write("<tr>");
							document.write("<td valign=top colspan=2>");
								document.write("The following information is auto-populated. You will <b>not</b> be able to modify the information below.");
							document.write("</td>");
						document.write("</tr>");
						
						document.write("<tr>");
						document.write("<td valign=top colspan=2>");
						//document.write("<br>");
						document.write("</td>");
						document.write("</tr>");
						
						
						document.write("<tr>");
							document.write("<td valign=top>");
								document.write("<label for=studentOs>Operating system:</label>");
							document.write("</td>");
							document.write("<td valign=top>");
								document.write("<textarea name=studentOs rows=1 cols=30 readonly=readonly STYLE=overflow:hidden>");
								if (os[0]=="Mac OSX"){
									document.write(os[0]);
								} else {
									document.write(os[0]+" "+os[1]);
								};									
								document.write("</textarea>");
							document.write("</td>");
						document.write("</tr>");
						
						
						document.write("<tr>");
							document.write("<td valign=top>");
								document.write("<label for=studentBrowser>Browser:</label>");
							document.write("</td>");
							document.write("<td valign=top>");
								document.write("<textarea name=studentBrowser rows=1 cols=30 readonly=readonly STYLE=overflow:hidden>");
								if (br[1] == 532.0){
									document.write("Google Chrome");
								} else {
									document.write(br[0]+" "+br[1]);
								}
								
								//document.write(br[0]);
								document.write("</textarea>");
							document.write("</td>");
						document.write("</tr>");
						
						if (br[0] == "Internet Explorer"){
							if (i_activex == true) {
									document.write("<tr>");
										document.write("<td valign=top>");
											document.write("<label for=studentActiveX>ActiveX:</label>");
										document.write("</td>");
										document.write("<td valign=top>");
											document.write("<textarea name=studentActiveX rows=1 cols=30 readonly=readonly STYLE=overflow:hidden>");
											document.write("Enabled");
											document.write("</textarea>");
										document.write("</td>");
									document.write("</tr>");
								
								} else {
									document.write("<tr>");
										document.write("<td valign=top>");
											document.write("<label for=studentActiveX>ActiveX:</label>");
										document.write("</td>");
										document.write("<td valign=top>");
											document.write("<textarea name=studentActiveX rows=1 cols=30 readonly=readonly STYLE=overflow:hidden>");
											document.write("Disabled");
											document.write("</textarea>");
										document.write("</td>");
									document.write("</tr>");
								};
							} else if (br[0] == "Firefox"){
								var L = navigator.plugins.length;
								document.write("<tr>");
										document.write("<td valign=top>");
											document.write("<label for=studentActiveX>Plugins:</label>");
										document.write("</td>");
										document.write("<td valign=top>");
											document.write("<textarea name=studentActiveX rows=1 cols=30 readonly=readonly STYLE=overflow:hidden>");
										for(var i=0; i<L; i++) {
										document.write(navigator.plugins[i].name+", ");							
										};
										document.write("</textarea>");
										document.write("</td>");
									document.write("</tr>");
								
							} else {
								document.write("<tr>");
										document.write("<td valign=top>");
											document.write("<label for=studentActiveX>Plugins:</label>");
										document.write("</td>");
										document.write("<td valign=top>");
											document.write("<textarea name=studentActiveX rows=1 cols=30 readonly=readonly STYLE=overflow:hidden>");
										document.write("Not Available for this browser");
										document.write("</textarea>");
										document.write("</td>");
									document.write("</tr>");
							}
							
							document.write("<tr>");
										document.write("<td valign=top>");
											document.write("<label for=studentLanguage>Language:</label>");
										document.write("</td>");
										document.write("<td valign=top>");
											document.write("<textarea name=studentLanguage rows=1 cols=30 readonly=readonly STYLE=overflow:hidden>");
											if (typeof(navigator.language) != "undefined")
												document.write(navigator.language);
											else if (typeof(navigator.browserLanguage) != "undefined")
												document.write(navigator.browserLanguage)
											else
												document.write("Property not supported or blank!");
											document.write("</textarea>");
										document.write("</td>");
									document.write("</tr>");
						
							document.write("<tr>");
										document.write("<td valign=top>");
											document.write("<label for=studentScreen>Screen Resolution:</label>");
										document.write("</td>");
										document.write("<td valign=top>");
											document.write("<textarea name=studentScreen rows=1 cols=30 readonly=readonly STYLE=overflow:hidden>");
											document.write(screen.width+" x "+screen.height);
											document.write("</textarea>");
										document.write("</td>");
									document.write("</tr>");
							
							
						
						document.write("<tr>");
							document.write("<td valign=top>");
								document.write("<label for=studentFlash>Flash Version:</label>");
							document.write("</td>");
							document.write("<td valign=top>");
								document.write("<textarea name=studentFlash rows=1 cols=30 readonly=readonly STYLE=overflow:hidden>");
								if (versionArray[0] != "undefined")
									document.write(versionArray[0]+"."+versionArray[1]+"."+versionArray[2]);
								else 
									document.write("Property is blank!");
								document.write("</textarea>");
							document.write("</td>");
						document.write("</tr>");
						
						
						document.write("<tr>");
							document.write("<td valign=top>");
								document.write("<label for=studentPopups>Popups Allowed?:</label>");
							document.write("</td>");
							document.write("<td valign=top>");
								document.write("<textarea name=studentPopups rows=1 cols=30 readonly=readonly STYLE=overflow:hidden>");
								document.write(allowed);
								document.write("</textarea>");
							document.write("</td>");
						document.write("</tr>");
						
						
						document.write("<tr>");
							document.write("<td valign=top>");
								document.write("<label for=studentCookies>Cookies Enabled?:</label>");
							document.write("</td>");
							document.write("<td valign=top>");
								document.write("<textarea name=studentCookies rows=1 cols=30 readonly=readonly STYLE=overflow:hidden>");
								document.write(cookie);
								document.write("</textarea>");
							document.write("</td>");
						document.write("</tr>");
						
						
						document.write("<tr>");
						document.write("<td valign=top colspan=2>");
						//document.write("<br>");
						document.write("</td>");
						document.write("</tr>");
						
					document.write("</table>");
				document.write("</form>");
document.write("</td>");
document.write("</tr>");
document.write("</table>");
