
function openWin( pageName, id, width, height ) {
	var size = eval('"width=' + width + ',height=' + height + '"');
	var newwin = window.open( pageName, id, size);
	newwin.focus();
	}
	


//test for basic browser compatibility
if (document.images) {
	// create image objects and preload
	kungfu_on = new Image();
	kungfu_on.src = "images/kungfuchicken2.jpg";
	kungfu_off = new Image();
	kungfu_off.src = "images/kungfuchicken.jpg";
	
}

// rollover script
function on(id) {
	if (document.images) {
		document.images[id].src = eval(id + "_on.src");
	}
}

// rollout script
function off(id) {
	if (document.images) {
		document.images[id].src = eval(id + "_off.src");
	}
}

// rollover script for multiples
function on1(id1, id2) {
	if (document.images) {
		document.images[id1].src = eval(id1 + "_on.src");
		document.images[id2].src = eval(id2 + "_on.src");
	}
}

// rollout script for multiples
function off1(id1, id2) {
	if (document.images) {
		document.images[id1].src = eval(id1 + "_off.src");
		document.images[id2].src = eval(id2 + "_off.src");
	}
}


