window.focus();
var JS_Image = new Array();

function SetImage(offsrc, onsrc, txt){
        if (document.images){
                this['mouse_out'] = new Image();
                this['mouse_out'].src = offsrc;
                this['mouse_over'] = new Image();
                this['mouse_over'].src = onsrc;
        }this['text'] = txt;
}
function RollOver(imgname){
	var doc
        if (document.images){
		doc = document.images[imgname];
		if (!doc)
			doc = document.layers[imgname].document.images[imgname];
		if (doc)
		{
	                doc.src = JS_Image[imgname]['mouse_over'].src;
	                window.status = JS_Image[imgname]['text'];
		}
        }
}
function RollOut(imgname){
	var doc
        if (document.images){
		doc = document.images[imgname];
		if (!doc)
			doc = document.layers["enter"].document.images[imgname];
		if (doc)
		{
	                doc.src = JS_Image[imgname]['mouse_out'].src;
        	        window.status = '';
		}
        }
}


function LaunchNew(location,w,h,name)
{
	nw=window.open(location, name, "width=" + w + ",height=" + h + ",status=yes,toolbar=no,location=no,menubar=no,scrollbars=auto,resizable=no");
	if (nw) nw.focus();
}
function LaunchScrollable(location,w,h,name)
{
	nw=window.open(location, name, "width=" + w + ",height=" + h + ",status=yes,toolbar=no,location=no,menubar=no,scrollbars=yes,resizable=no");
	if (nw) nw.focus();
}
function LaunchResizeable(location,w,h,name)
{
	nw=window.open(location, name, "width=" + w + ",height=" + h + ",status=yes,toolbar=no,location=no,menubar=no,scrollbars=yes,resizable=yes");
	if (nw) nw.focus();
}
