﻿/*
	Global WebAttache.js file - add other global javascript functions to this file
*/
// setup onload actions
window.onload = function(){
	// Performs WebAttache load methods (automatic include)
	_waLoad();
}
/* Preload images */
var imgs=new Array();
function preLoad(imgSrc){
	var l=imgs.length;
	imgs[l]=new Image();
	imgs[l].src=imgSrc;
}
function hoverOn(el){
	el.src=el.src.replace('_off','_on');
}
function hoverOff(el){
	el.src=el.src.replace('_on','_off');
}