/* placeholder */


function openNewWindow(url,width,height) {
	// created by joe crawford february 2004
	targetAttributes = 'toolbar=0,location=1,directories=1,status=0,menubar=0,scrollbars=1,resizable=1';
	targetAttributes += ',width=' + width;
	targetAttributes += ',height=' + height;
	window.open(targetURL,targetWindow,targetAttributes);
}

function changeImage(imgUrl,inImgName) {
	if(document.images) {
		document.images[inImgName].src=imgUrl;
	}
}

function WM_preloadImages() {

/*
WM_preloadImages()
Loads images into the browser's cache for later use.

Source: Webmonkey Code Library
( http://www.hotwired.com/webmonkey/javascript/code_library/ )

Usage: WM_preloadImages('image 1 URL', 'image 2 URL', 'image 3 URL', ...);
*/

  // Don't bother if there's no document.images
  if (document.images) {
    if (typeof(document.WM) == 'undefined'){
      document.WM = new Object();
    }
    document.WM.loadedImages = new Array();
    // Loop through all the arguments.
    var argLength = WM_preloadImages.arguments.length;
    for(arg=0;arg<argLength;arg++) {
      // For each arg, create a new image.
      document.WM.loadedImages[arg] = new Image();
      // Then set the source of that image to the current argument.
      document.WM.loadedImages[arg].src = WM_preloadImages.arguments[arg];
    }
  }
}

function changeIdText(obj,varName) {
	if(document.getElementById && document.getElementById(obj)!=null)
	{
		document.getElementById(obj).innerHTML = varName;
	}	
}


