		// Random Number Generator
		<!-- 
		function RandomNumber(upper_limit)
		{
		return Math.round(upper_limit * Math.random());
		}
		var upper_limit = 500000;
		// -->
						
		// Form check for required fields
		<!-- 
		function checkrequired(which) {
		var pass=true;
		if (document.images) {
		for (i=0;i<which.length;i++) {
		var tempobj=which.elements[i];
		if (tempobj.name.substring(0,8)=="required") {
		if (((tempobj.type=="text"||tempobj.type=="textarea")&& tempobj.value=='')||(tempobj.type.toString().charAt(0)=="s" && tempobj.selectedIndex==0)) {
		pass=false;
		break;
         		}
      		}
   		}
		}
		if (!pass) {
		shortFieldName=tempobj.name.substring(8,30).toUpperCase();
		alert(" "+shortFieldName+" is a required field.");
		return false;
		}
		else
		return true;
		}
		//  -->
		
		//Aspen Astrologer Gallery New Window
		<!-- Aspen Astrologer Gallery
		function AstrologerWindow1() {
		newwin1 = window.open("http://www.aspentimes.com/apps/pbcs.dll/gallery?Avis=AT&Dato=20040125&Kategori=ASTROLOGER26&Lopenr=125001&Ref=PH","astrologer","width=420,height=450,scrollbars,resizable")
		}
		// -->
		
		//Aspen Astrologer Menus
		<!-- Aspen Astrologer Menus
		function MM_jumpMenu(targ,selObj,restore){ //v3.0
			eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  			if (restore) selObj.selectedIndex=0;
		}

		function MM_goToURL() { //v3.0
  			var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
  			for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
		}
		// -->
		
		// Misc Popups
		<!--
		function NewWindow(width,height,url) 
		{   
		window.open(url,"PopUp","menubar=0,scrollbars=1,resizable=1,height="+height+",width="+width);
		}
		// -->
		
		// Top classifieds popup window
		<!-- 
			function topclassopenwin(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(); }
				}
		// -->
		
		// Snow conditions popup window
		<!-- Snow Conditions Popups
		function openmypage() {
		window.open ("http://apps.aspentimes.com/snow/resort_icons.html","openmypage","width=250,height=350,location=0,menubar=0,resizable=0,scrollbars=1,status=1,titlebar=1,toolbar=0,screenX=100,left=100,screenY=30,top=60");
		}
		function openxcpage() {
		window.open ("http://apps.aspentimes.com/snow/xc_icons.html","openmypage","width=250,height=350,location=0,menubar=0,resizable=0,scrollbars=1,status=1,titlebar=1,toolbar=0,screenX=100,left=100,screenY=30,top=60");
		}
		function openmyotherpage() {
		window.open ("http://apps.aspentimes.com/snow/resort_surface.html","openmyotherpage","width=400,height=350,location=0,menubar=0,resizable=0,scrollbars=1,status=1,titlebar=1,toolbar=0,screenX=100,left=100,screenY=50,top=80");
		}
		//-->
		