
//*****************************************
// Blending Image Slide Show Script- 
//*****************************************
	var xoxo = new Array(ic); 
	var ic = 8; 
	xoxo[0] = "Images/Final%20Images/Main0.jpg";
	xoxo[1] = "Images/Final%20Images/Main1.jpg";
	xoxo[2] = "Images/Final%20Images/Main2.jpg";
	xoxo[3] = "Images/Final%20Images/Main3.jpg";
	xoxo[4] = "Images/Final%20Images/Main4.jpg";
	xoxo[5] = "Images/Final%20Images/Main5.jpg";
	xoxo[6] = "Images/Final%20Images/Main6.jpg";
	xoxo[7] = "Images/Final%20Images/Main0.jpg";
	
	function pickRandom(range) {
		if (Math.random)
			return Math.round(Math.random() * (range-1));
		else {
			var now = new Date();
		return (now.getTime() / 1000) % range;
		}
	}	
	var choice = pickRandom(ic);


		<!-- Begin
	function Popup_Window(mypage, myname, w, h, scroll) {
			var winl = (screen.width - w) / 2;
			var wint = (screen.height - h) / 2;
			winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable'
			win = window.open(mypage, myname, winprops)
			if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
		}
		//  End -->


		<!-- Begin
		function NewWindow(mypage, myname, w, h, scroll) {
			var winl = (screen.width - w) / 2;
			var wint = (screen.height - h) / 2;
			winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable'
			win = window.open(mypage, myname, winprops)
			if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
		}
		//  End -->


function chk() {
		if (_ctl0.myTopRight_UserName.value=='') {
			alert('Please input the Username');
			_ctl0.myTopRight_UserName.focus();
			return false;
		}
		if (_ctl0.myTopRight_Password.value=='') {
			alert('Please input the Password');
			_ctl0.myTopRight_Password.focus();
			return false;
		}
		_ctl0.submit();
	}
	function forgot() {
		if (_ctl0.myTopRight_UserName.value=='') {
			alert('Please input the Contract Number');
			_ctl0.myTopRight_UserName.focus();
			return false;
		}
		_ctl0.action='../do_sendpwd.asp';
		_ctl0.submit();
	}
	
	function forgot_ChgPth() {
		if (_ctl0.myTopRight_UserName.value=='') {
			alert('Please input the Contract Number');
			_ctl0.myTopRight_UserName.focus();
			return false;
		}
		_ctl0.action='../../do_sendpwd.asp';
		_ctl0.submit();
	}

	function goto_profile() {
		if (_ctl0.myTopRight_UserName.value=='') {
			alert('Please input the Contract Number');
			_ctl0.myTopRight_UserName.focus();
			return false;
		}
		if (_ctl0.myTopRight_Password.value=='') {
			alert('Please input the Password');
			_ctl0.myTopRight_Password.focus();
			return false;
		}

		_ctl0.action='do_login_for_profile.asp';
		_ctl0.submit();
	}

	function goto_profile_ChgPth() {
		if (_ctl0.myTopRight_UserName.value=='') {
			alert('Please input the Contract Number');
			_ctl0.myTopRight_UserName.focus();
			return false;
		}
		if (_ctl0.myTopRight_Password.value=='') {
			alert('Please input the Password');
			_ctl0.myTopRight_Password.focus();
			return false;
		}

		_ctl0.action='../do_login_for_profile.asp';
		_ctl0.submit();
	}
