
function popUp(strURL,winName,strType,strHeight,strWidth) {
	var strOptions="";
	if (strType=="console") strOptions="resizable,height="+strHeight+",width="+strWidth;
	if (strType=="fixed") strOptions="status,height="+strHeight+",width="+strWidth;
	if (strType=="elastic") strOptions="status,toolbar,menubar,scrollbars,resizable,location,height="+strHeight+",width="+strWidth;
	if (strType=="default") strOptions="toolbar,menubar,scrollbars,resizable,location";
	window.open(strURL, winName, strOptions);
}

// msoft activex controls no longer start up 'activated' after april 11/06 (require focus to activate)
// workaround requires object/embed tags to be included in external js
// hence this func (document.write call must be made from externally included .js file)... sb
// note: if 'allow script debugging' is *not* checked in ie settings, you will still get the activiation prompt!
function embed(tag){
    document.write(tag);
}

function openWin(URLtoOpen, windowName, windowFeatures) {
	newWindow=window.open(URLtoOpen, windowName, windowFeatures);
	//if (window.focus) {newWindow.focus();}
}


function changeBGImage(){
	var backImage = new Array(); // don't change this
	var randomnumber=Math.floor(Math.random()*4)
	
	backImage[0] = "AcesProjectAwards1.jpg";
	backImage[1] = "AcesProjectAwards2.jpg";
	backImage[2] = "AcesProjectAwards3.jpg";

	if (document.body){
		document.body.background = backImage[0];
	}
	
	alert("hello 12");
}

function showMsg(){
	alert('Hello Henry');
}
