function OpenEGRGame(){
	NewWindow('http://www.bigbridge.com.au/games/shockwave/egr/loader.htm ','egrgame','620','420','center');
}

//*****************************************************************************
// NewWindow => v1 15.10.02
// 
// Written By: Adam Royle (adapted from 'Auto-centering Popup Window' by Eric King - http://redrival.com/eak/index.shtml)
// Date Created: 15.10.02
// Desc: Opens up a new window, optionally in the center or random placement.
// Returns: Reference of the new window
// Example Usage: 
//			myWin = NewWindow("page.htm","winName",400,300,"center");
//				or
//			myWin = NewWindow("page.htm","winName",450,320,"30,20","yes");
// Last Modified: 
//****************************************************************************
function NewWindow(mypage,myname,w,h,pos,scroll){ // scroll is optional - default set to 'no'
	if(pos=="random"){LeftPosition=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;TopPosition=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;}
	if(pos=="center"){LeftPosition=(screen.width)?(screen.width-w)/2:100;TopPosition=(screen.height)?(screen.height-h)/2:100;}
	if(pos.indexOf(",")!=-1){aPos=pos.split(",");LeftPosition=aPos[0];TopPosition=aPos[1];}
	scroll = scroll?scroll:'no';
	settings='width='+w+',height='+h+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=yes';
	var win=window.open(mypage,myname,settings);
	if(win.focus){win.focus();}
	return win;
}


// -- function for sitemap stuff
function sitemapExpanderClicked(objExpander,strImageUrlPrefix)
{


	//Get the element that was clicked
	var ctlExpander = event.srcElement;

	var ctlSelectedEntry = ctlExpander.parentElement;

	// get the parent if it is an image - adam 19.08.02
	if (ctlExpander.src) ctlSelectedEntry = ctlSelectedEntry.parentElement;

	//Get all the DIV elements that are direct descendants
	var colChild = ctlSelectedEntry.children.tags("DIV");
	if(colChild.length > 0)
	{
		var strCSS;
		//Get the hidden element that indicates whether or not entry is expanded
		var ctlHidden = ctlSelectedEntry.all("hidIsExpanded");

		if(ctlHidden.value == "1")
		{
			//Entry was expanded and is being contracted
			ctlHidden.value = "0";
			strCSS = "NotVisible";

		
			objExpander.innerHTML = '<img border="0" src="'+strImageUrlPrefix+'/images/TPlus.gif" alt="expand" />';
	
		}
		else
		{
			//Entry is being expanded
			ctlHidden.value = "1";
			strCSS = "IsVisible";	

			objExpander.innerHTML = '<img border="0" src="'+strImageUrlPrefix+'/images/TMinus.gif" alt="expand" />';

		}
		//Show all the DIV elements that are direct children
		for(var intCounter = 0; intCounter < colChild.length; intCounter++)
		{
			colChild[intCounter].className = strCSS;
		}
	}
}