


var fsize=0;


function initAll(x)
{
	// Create nav bar
var str, selectedTab;
	
	str = "<div id='leftpad' style='border-style:none none none none; width:19%; float:left; "
		+ "background-color:#737CA1;'>~"
		+ "</div></a>";
	str = str + "<a href='index.html' style='text-decoration:none;'>"
		+ "<div id='home' style='border-style:none none none none; width:20%; float:left'>"
		+ "home</div></a>";
	str = str + "<a href='index.php' style='text-decoration:none;'>"
		+ "<div id='family' style='border-style:none none none none; width:20%; float:left'>"
		+ "family</div></a>";
	str = str + "<a href='resume.html' style='text-decoration:none;'>"
		+ "<div id='resume' style='border-style:none none none none;width:20%; float:left'>"
		+ "resume'</div></a>";
	str = str + "<div id='rightpad' style='border-style:none none none none; width:19%; float:left; "
		+ "background-color:#737CA1;'>~"
		+ "</div></a>";
		
	
	document.getElementById('nav').innerHTML = str;
	switch(x)
	{
		case 1:
			selectedTab = "home";
			document.getElementById('username').select();
			break;
		case 2:
			selectedTab = "family";
			document.getElementById('fname').select();
			break;
		case 3:
			selectedTab = "resume";
			break;
	}
	document.getElementById(selectedTab).style.backgroundColor="#737CA1";
	document.getElementById(selectedTab).style.color="#313649";
}	// initAll()


function register(x)
{
	var vis, invis;
	var y=document.getElementById("username").value;
	
	if(x)
	{
		vis='signonWrapper';
		invis='demogWrapper';
		document.getElementById('uname').value = y;
	}
	else
	{
		vis='demogWrapper';
		invis='signonWrapper';
	}
	document.getElementById(invis).style.display="none";
	document.getElementById(vis).style.display="inline";
}


function confirmPassword()
{
	var p = document.getElementById("password").value;
	var c = document.getElementById("cpassword").value;
	
	if((p - c) != 0)
	{
		alert("Passwords do not match");
		document.getElementById('cpassword').value = ''
		document.getElementById('password').value = ''
		document.getElementById('password').select();
	}

}

function temp()
{
	var x = document.getElementById('network').tabindex;
	alert (x);
}
/*
function leftActive(x)
{
	var str;
	
	switch(x)
	{
		case 1:		// show resume'
		{
			str = '<div><button onclick="leftActive(0)">summary</button></div>'
				+ '<div class="leftselect" >resume\' --></div><br />';
				
				document.getElementById('page').innerHTML = "resume'";
				middlecontent(1);
			break;
		}
		case 2:
		{
			break;
		}
		case 3:		// family.address info
		{
			// php code here to pull current info
		}
	document.getElementById('leftnav').innerHTML = str;
	document.getElementById('middlecol').innerHTML = midstr;
}
*/



function middlecontent(x)
{
	var str;
	
	if(x)
	{
		str = document.getElementById('resume').innerHTML;
	}
	else
	{
		str = document.getElementById('cover').innerHTML;
	}
	
	document.getElementById('middlecontent').innerHTML = str;
}

function callme()
{
	// Display 'Call Me'
	if(document.getElementById('callbutton').value == "Click to Call")
	{
		document.getElementById('callbutton').value = "<< Hide call window";
		document.getElementById('clicktocall').style.display = "block";
	}
	else
	{
		document.getElementById('callbutton').value = "Click to Call";
		document.getElementById('clicktocall').style.display = "none";
	}
		
		
}


function rollup()
{
	var t;
	
		fsize++;
		if (fsize > 18)
		{
			t = setTimeout("rollup()",400);
			if(fsize > 20)
			{
				document.getElementById("callbutton").style.display='block';
				clearTimeout(t);
			}
		}
		else
		{
			document.getElementById("contactwindow").style.fontSize=fsize + "px";
			t = setTimeout("rollup()",50);
		}
}

/*

function tlognas()
{
  var string='<ul><li>Open rebars and telnet to isp<br />'
    + '<input type="text" value="root" />';
}

function hilite()
{
	
}


function ddsdetail()
{
	alert("Not available");
}

function signon(x)
{
	var x;
	if(x==1)
	{
		document.getElementById('rightcol').innerHTML = "Press AD1<br />Enter 3467<p>To log out:<br />AD2";
	}
	else
	{
		document.getElementById('rightcol').innerHTML = defstr;
	}
}


function passdetail(x)
{
	var x;
	var str;
	var mywin;
	
	switch(x)
	{
		case 0:
			str = ' ';
			break;
		
		case 1:
			str = 'https://nwacc.blackboard.com/webct/entryPageIns.dowebct<br />'
				+ 'jbulgier<br />062863';
			break;
		
		case 2:
			str = 'Information and links to 401k account';
			break;
	}
	// I'm trying to figure out how to populate the 
	document.getElementById('middlecol').innerHTML = str;
	setTimeout(1000);
	alert('Jo Momma');
}


function stabdetail(x)
{
	var x;
	var str;
//	var storenumber;
	
	switch(x)
	{
			
		case 1:
			str = "<h1>Logging into the DDS ILO</h1><ul>"
			+ '<li>To log into the ILO open a session to 1 of the test NASs or the site NAS if it is ours.<br /> '
			+ '<li>Enter the store number (4 digits) then click the text box<br />'
			+ '<input type="text" name="storeid" id="storeid" width="6" onclick="storeid()" /><br />'
			+ '<li>Open Internet Explorer and enter<br />https://dds-r.s0xxxx.us.wal-mart.com/<br /> '
			+ '<li>Once you have entered the IP address and hit enter the web interface for the ILO will come up and you '
			+ 'must log in with:<br />'
			+ '<li>root'
			+ '<li>calvin2008'
			+ '<li>Once logged into the ILO, click the Remote tab and select an option to open a KVM session.<br />'
			+ '<li>It seems that the Java KVM with the High Performance Mouse checked has worked the best.<br />'
			+ '<li>You will now have an active Local KVM session.</ul>';
			break;
			
		case 2:
			str = "Press AD1<br />Enter 3467<p>To log out:<br />AD2";
			break;
			
		case 3:
			str = '<h3>CALL TO CHECK ON CE ETA:</h3>'
				+ 'ENTER THESE INTO LOG: <br />Following up with PSA for CE ETA<br />'
				+ 'CE has been paged. Awaiting callback.'
				+ 'Call for an update on the ETA:<ul><li>Press Personal List 07'
				+ '<li>Say, "Following up with PSA for CE ETA"</ul>'
				+ '<input type="text" value="Enter GCSS case#"<br />';
			break;
			
		case 4:
			str = '<h3>To approve a change control:</h3>'
				+ '<li>Call 277-4426'
				+ '<li>Tell them you need a CC approved'
				+ '<li>Do a bunch of other stuff...';
			break;
			
		case 5:
			str = '<h2>To get information on a NAS:</h2><ul><li>Telnet to the NAS server'
				+ '<li>Enter:<br />wmi_sysinfo.pl</li></ul>'
				+ '<p>For DDS servers enter<br />wmic bios get serialnumber<br />';
			break;
			
		case 6:
			str = '<h3>NAS - Installing Clients - Windows</h3>'
				+ '<ul><li>Open Rebars and Telnet into NAS'
				+ '<li>C:'
				+ '<li>cd\images\hp\install\wintel_client'
				+ '<li>ftp 172.26.57.170'
				+ '<li>jbulgier<li><Remedy password><li>bin<li>hash<li>cd /hptools/tbars'
				+ '<li>get install_omniback.exe<li>bye</ul>'
				+ 'RDP to the windows server you want to install the client on.'
				+ '<li>cd\temp<li>net use w: \\192.168.58.6\c$ /u:administrator t8ar5<li>w:'
				+ '<li>cd\images\hp\install\Wintel_Client<li>copy install_omniback.exe c:<li>c:'
				+ '<li>net use w: /d<li>install_omniback.exe</li>Wait for completion of install<ul>'
				+ '<li>tail c:\logs\install_omniback.log</li><h3>From NAS</h3><li>c:<li>cd \temp'
				+ '<li>ftp 172.26.57.170<li>jbulgier<li>Remedy password<li>bin<li>hash<li>cd /hptools/tbars'
				+ '<li>get datalists.exe<li>bye<li>datalists.exe<li>omnicc -export_host xxx<li>omnicc -import_host xxx'
				+ '<li>cd\images\hp\install\util<li>set_datalists.pl<li>ena_disablesched.pl enable xxx'
				+ '<li>schtasks /run /tn "backup xxx"';
			break;
			
		case 7:
			str = '<h3>Network Operations Center (NOC)</h3>479-277-4126 opt 3<blockquote>'
				+ 'Halvorson, Gary [5:09 PM]:<br />I will be out of the office until Wed 12/1.<br />'
				+ 'If it is urgent, call me on my cell at 858-231-0912<p>-- Ken<p>Walmart Backup: Michele Price<br />'
				+ 'Networking Backup - Janet Wourms or Michael Johnson<br />'
				+ 'Express/Rio Backup - Janet  Wourms or Rob Chohan or Sharon Morrow</blockquote>';
			break;
			
		case 8:
			str = '<h3>Raised Floor Access Request (RFAR)</h3>'
				+ 'format: nnnnn<br />Look in Remedy. Do a search under Raised Floor Access Request'
				+ '<br /><a href="http://c3156pc13.ssr.hp.com/newwiki/index.php5/Category:SubCategory_-_Printers"';
			break;
			
		case 9:
			str = 'Jason,<p>Need Overnight to:<blockquote>Chuck Crowder 520-437-4925<br />'
				+ 'Hold for Pickup<br />X-Cel Delivery<br />3949 E. 29th St.<br />'
				+ 'Suite 710<br />Tucson, AZ 85711-6126';
			break; 
			
		case 10:
			str = '<h3>DAT5 Tape Drive</h3>'
				+ '<li>Find out if it is a 5300 or a 5500.<br />It should say on the front of the unit.<br />Call site to find out.</li>'
				+ '<li><input type="text" name="DAT5" />'
				+ '<li>Call BRS to get the part number<br />(personal list 07)</li>'
				+ '<li>At this point, you will not have a case so use the SAID below:</li>'
				+ '103408431352<p>That is all the info I have right now.';
			break;
			
		case 11:
			str = '<h3>Networking</h3><hr>'
				+ '<a href="https://netmgt.wal-mart.com/" target="_blank">'
				+ 'Walmart\'s Network Management Home Page</a><hr>';
			break;
			
		case 12:
			str = '<h3>Tape Drive</h3><hr>'
				+ '<img src="images/TapeEnclosure.jpg" alt="Autoloader" width="50%" /><hr>'
				+ '<a href="https://netmgt.wal-mart.com/" target="_blank">'
				+ 'Walmart\'s Network Management Home Page</a><hr>';
			break;
			
		case 13:
			str = '<h3>Standard format for closure code in remedy resolution field:</h3>'
				+ 'XXX YYY Details<ul><li>XXX is a three digit code for the family of products.</li>'
				+ '<li>YYY is a three digit code for the type of work done.</li>'
				+ '<li>Details will be the regular closing details for the Ticket.</li></ul>'
				+ '<table><tr><th>Code</th><th>Product Family (XXX)</th></tr>'
				+ '<tr><td>DCU</td><td>DC Unix/Linux</td></tr><tr><td>DCW</td><td>DC Windows/Virtualization</td></tr>'
				+ '<tr><td>HOU</td><td>Home Office Unix/Linux</td></tr><tr><td>HOW</td><td>Home Office Windows</td></tr>'
				+ '<tr><td>BUA</td><td>Backup Appliance (TBARS: NAS/ISP/SAPS/VSRV/DDS/RXP)</td></tr>'
				+ '<tr><td>PRT</td><td>K5400 Printers</td></tr><tr><td>KSK</td><td>EValue Kiosk</td></tr>'
				+ '<tr><td>DDS</td><td>HP ML350 DDS Servers</td></tr><tr><td>RPS</td><td>Remote Print Services '
				+ 'products</td></tr><tr><td>NFT</td><td>No family type for this call</td></tr>'
				+ '<tr><td>POS</td><td>Point of Sale Issue</td></tr></table>'
				
				+ '<table><tr><th>Code</th><th>Work type performed (YYY)</th></tr>'
				+ '<tr><td><i>## HW Service Involved ##</i></td></tr>'
				+ '<tr><td>DIS</td><td>Dispatched tech</td></tr><tr><td>BRX</td><td>BRS engaged to predict part'
				+ '</td></tr><tr><td><i>## STAB Provided Assistance ##</i></td></tr>'
				+ '<tr><td>RRX</td><td>Remotely Resolved by Stab</td></tr><tr><td>BRS</td>'
					+ '<td>BRS engaged to resolve remotely</td></tr>'
				+ '<tr><td>REQ</td><td>Backup Request</td></tr>'
				+ '<tr><td>DRX</td><td>Disaster Recovery (DR)</td></tr><tr><td>SWS</td><td>'
					+ 'Software Support (e.g. Data Protector installation)</td></tr>'
				+ '<tr><td>USR</td><td>User Caused problem that we helped resolve</td></tr>'
				+ '<tr><td><i>## No STAB assistance other than call tracking/monitor ##</i></td></tr>'
				+ '<tr><td>DUP</td><td>Duplicate Ticket</td></tr>'
				+ '<tr><td>ENV</td><td>Environmental Issues, Site Power issues, Emergencies</td></tr>'
				+ '<tr><td>NHP</td><td>Non-HP issue (use this very sparingly)</td></tr>'
				+ '<tr><td><i>## Project Related assistance ##</i></td></tr>'
				+ '<tr><td>PRJ</td><td>Rollout/Project (HP Internal Use)</td></tr></table>';
			break;
			
		case 100:
			str = 'sc query prnplayer<br />';
			break;
			
		case 101:
			str = 'Tasklist | find /N /I "vidplayer.exe"<br />';
			break;


			
		default:
			str = "bdf to find information about a server.<p>seestat<p>"
			+ 'root@isp.s01707.us:/users/root $ seestat HP Backup Solution Unix: Passed Informix: Passed Backup '
			+ 'Start: 11/14/2010 17:55:25 (Sun) Backup End: 11/14/2010 19:49:02 (Sun) Elapsed Time: 113 Minutes '
			+ 'root@isp.s01707.us:/users/root $ date Sun Nov 14 20:04:21 EST 2010 ';
	}
	document.getElementById('rightcol').innerHTML = str;
} //stabdetail()


function hdddetail(x)
{
	var str;
	
	switch(x)
	{
		case 1:
			str = '<ul><li>Telnet into the NAS and run:'
			+ '<li>\Progra~1\Compaq\Hpacucli\Bin\hpacucli.exe</ul>'
			+ 'If you receive this error<blockquote>';
	}
}

function dispatchTemplate()
{
	var add;
	var desc;
	var host;
	var remedy;
	var impaired;
	var parts;
	
	add =  alert('What is the address?');
	document.getElementById('rightcol').innerHTML = add;
}


function evalue(x)
{
	var str;
	
	switch(x)
	{
		case 1:
			str = 'Here is the information that we will need to process an order:<p>'
				+ 'Reference number (GCSS case # or other)<br />Ship to information<br />Name<br />'
				+ 'Address<br />Phone number<br />Model number<br />Serial number<br />Problem Description<p>'
				+ 'This information can be sent to<blockquote>brandi.smith@hp.com<br />mona.williams@hp.com<br />'
				+ 'psd.richardson@hp.com</blockquote>We will use email until our GCSS queue is set up.<hr>'
				+ 'Part# 101373\tPrinter Spindle\t$45.00';
			break;
			
			case 2:
				str = 'root@isp.s0xxxx.us:/users/root $ setaddr -l | grep mpt<br />'
					+ '<span class="cmd">setaddr -l | grep mpt</span><hr>'
					+ '/home/stab/jbulgier $ ping mpt03.s0xxxx.us<br />'
					+ '<span class="cmd">ping mpt03.s0xxxx.us</span><hr>'
					+ '/hptools/kiosk/ttp8200.pl<br />'
					+ '<span class="cmd">ttp8200.pl <i>option</i> mptpr0x.s0xxxx.us</span><br />'
					+ 'Options for previous command:<ul><span class="cmd"><li>-p print test page'
					+ '<li>-c printer configuration<li>-s printer status<li>-h display help menu</span></ul>';
				break;
				
			default:
				str = 'Jackie Johnson<br />972-481-9061<br /><a href="mailto:jackie.johnson@hp.com">'
					+ 'jackie.johnson@hp.com</a>';
				break;
	} //switch
	
	document.getElementById('rightcol').innerHTML = str;
	
}


function goback()
{
	back();
}


function bkground()
{
	
}

*/


