<!--
//Preloader
myImages=new Array(
//image to be preloaded
"menu_home_on.gif",
"menu_home_off.gif",
"menu_about_on.gif",
"menu_about_off.gif",
"menu_creation_on.gif",
"menu_creation_off.gif",
"menu_slide_on.gif",
"menu_slide_off.gif",
"menu_wed_on.gif",
"menu_wed_off.gif",
"menu_test_on.gif",
"menu_test_off.gif",
"menu_press_on.gif",
"menu_press_off.gif",
"menu_contact_on.gif",
"menu_contact_off.gif"
);
if (document.images) {
 for (i=0;i<myImages.length;i++) {
//Image Path
	path = 'images/';
    img = new Image();
    img.src=path + myImages[i];
 }
}
// ImageSwapper (name = images name)(overname = images filename)
function swap(name,overname) {
document.images[name].src='http://www.kelleyheaney.com.au/images/menu_' + overname + '.gif'; 
}
function changepage(pnum){
var temppage = document.getElementById(pnum).innerHTML;
var pnuml = pnum + "link";
//alert(pnuml);
var templink = document.getElementById(pnuml).innerHTML;
document.getElementById('cont').innerHTML = temppage;
document.getElementById('backforw').innerHTML = templink;
}
function movepic(img_name,img_src){document[img_name].src= "images/front_" + img_src + ".jpg";}
function pop(url,width,height) 
{
scrolling = 'yes'; // Scrolling Yes/No/Auto
resize = 'no'; // Scrolling Yes/No
pagename = 'SlideShow'; // popup name
popht = height; // popup height
popwth = width; // popup width
//THATS ALL
scrleft = (screen.width / 2) - (popwth /2); //centres horizontal
scrtop = (screen.height / 2) - (popht /2); //centres vertical
popit=window.open(url,pagename,'top=' + scrtop + ',left=' + scrleft + ',height=' + popht + ',width=' + popwth + ',scrollbars=' + scrolling + ',resizable=' + resize + ',status=0,menubar=0,toolbar=0');
popit.focus()
}

-->
