var ordnum = Math.round(Math.random() * 1000000000);

/* GolfVR Window Pop */
function openHole(pagename) {window.open(pagename, 'VirtualTour', 'width=482,height=390,scrollbars=0,toolbar=0')}

/*  Pops windowMaker */	
function windowMaker(url, name) {window.open( url, name, 'toolbar=no,resizable=no,scrollbars=no,menubar=no,location=no,width=600,height=400,top=10,left=10' );}
		
/*  Pops Photo Gallery windows */		
function photoGallery(url, name) {window.open( url, name, 'toolbar=no,resizable=no,scrollbars=no,menubar=no,location=no,width=678,height=460,top=10,left=10' );}
		
/* for AOL Webcast Offer */
function aolPop(url, name) {window.open( url, name, 'toolbar=no,resizable=yes,status=yes,scrollbars=yes,menubar=no,location=no,width=470,height=400,top=10,left=10' );}

/* Extra stuff to enable nav hovers in lame IE */
sfHover = function() {
	var sfEls = document.getElementById("nav").getElementsByTagName("LI");
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
			this.className+=" sfhover";
		}
		sfEls[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
		}
	}
}

if (window.attachEvent) window.attachEvent("onload", sfHover);

// fireclick flash
function call_fc_flash (arg1,arg2) {
	if(typeof(fc_flash) == "function") {
		fc_flash(arg1,arg2);
	}
}