//Function to change page from option list
function linkURL(URL) {
	
	if (URL.options[URL.selectedIndex].value != "") self.location.href = URL.options[URL.selectedIndex].value;	
	return true;
}

//Function to open pop up window
function winOpener(theURL, winName, scrollbars, resizable, width, height) {
	
	winFeatures = 'left=' + (screen.availWidth-10-width)/2 + ',top=' + (screen.availHeight-30-height)/2 + ',scrollbars=' + scrollbars + ',resizable=' + resizable + ',width=' + width + ',height=' + height + ',toolbar=0,location=0,status=1,menubar=0'
  	window.open(theURL, winName, winFeatures);
}


if (document.images) {
//preload images  
  img01 = new Image();
  img01.src = "forum_images/smartgo.gif";
  img012 = new Image();
  img012.src = "forum_images/smartgoo.gif";
  img02 = new Image();
  img02.src = "forum_images/reportit.gif";
  img022 = new Image();
  img022.src = "forum_images/reportito.gif";
  img03 = new Image();
  img03.src = "forum_images/more.gif";
  img032 = new Image();
  img032.src = "forum_images/moreo.gif";
  img04 = new Image();
  img04.src = "forum_images/auk-logo.gif";
  img042 = new Image();
  img042.src = "forum_images/auk-logoo.gif";
}
function OnImage(name) {
	if (document.images) {
		fullname = eval(name + "2");
		document[name].src = fullname.src;
	}
}
function OffImage(name) {
  if (document.images) {
    fullname = eval(name);
	if (fullname.complete) {
      document[name].src = fullname.src;
	}
  }
}
