function PopUp(url) {
	remote=window.open(url,'PopUpWindow','height=400,width=640,alwaysLowered=0,alwaysRaised=0,channelmode=0,dependent=1,directories=0,fullscreen=0,hotkeys=1,location=0,menubar=1,resizable=0,scrollbars=yes,status=0,titlebar=0,toolbar=0,z-lock=33');
	if (!remote.opener) remote.opener = self;
	if (window.focus) remote.focus();  
}

function PicPopUp(url) {
	remote=window.open(url,'PopUpWindow','height=370,width=390,alwaysLowered=0,alwaysRaised=0,channelmode=0,dependent=1,directories=0,fullscreen=0,hotkeys=1,location=0,menubar=1,resizable=0,scrollbars=yes,status=0,titlebar=0,toolbar=0,z-lock=33');
	if (!remote.opener) remote.opener = self;
	if (window.focus) remote.focus();  
}

function CouponSheet(url) {
	remote=window.open(url,'PopUpWindow','height=500,width=700,alwaysLowered=0,alwaysRaised=0,channelmode=0,dependent=1,directories=0,fullscreen=0,hotkeys=1,location=0,menubar=1,resizable=0,scrollbars=yes,status=0,titlebar=0,toolbar=0,z-lock=33');
	if (!remote.opener) remote.opener = self;
	if (window.focus) remote.focus();  
}

function printWindow() {
	bV = parseInt(navigator.appVersion)
	if (bV >= 4) window.print()
}

// special javascript for client SkiWest national banner
/*
function submitFrmSearch2() {
	var frmThisForm = window.document.frmSearch2;
	var dDate = new Date();
	var nStartMonth = frmThisForm.selStartMonth.options[frmThisForm.selStartMonth.selectedIndex].value;
	var nStartDay = frmThisForm.selStartDay.options[frmThisForm.selStartDay.selectedIndex].value;
	var nStartYear = dDate.getYear();
	if(nStartYear<1900) { nStartYear+=1900 } //*Workaround: Netscape treats 2002 at 102	
	var sStartDate = nStartMonth + '/' + nStartDay + '/' + nStartYear;	
	frmThisForm.hdnStartDate.value = sStartDate;
	frmThisForm.hdnNights.value=frmThisForm.selNumNights.options[frmThisForm.selNumNights.selectedIndex].value;
	frmThisForm.submit();
}
*/

var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));

try {
var pageTracker = _gat._getTracker("UA-11417744-1");
pageTracker._trackPageview();
} catch(err) {}
/*
//APE include code for Discover Colorado
//(c) analyticspros.com
var apeJsHost = (("https:" == document.location.protocol) ? "https://amikay-ape.appspot.com/" : "http://ape.amikay.com/");
//attach script to <head>
j=document.createElement("SCRIPT");
j.src=apeJsHost+"?code=discovercolorado";
document.getElementsByTagName("HEAD")[0].appendChild(j);
*/