if (document.images) {
	siteup = new Image(); // Active images
	contactup = new Image(); 
	upcomingup = new Image(); 
	stockup = new Image(); 

	siteup.src = "images/site_map_up.jpg";
	contactup.src = "images/contact_us_up.jpg";
	upcomingup.src = "images/upcoming_shows_up.jpg";
	stockup.src = "images/stock_quote_up.jpg";

	sitedown = new Image(); // InActive images
	contactdown = new Image(); 
	upcomingdown = new Image(); 
	stockdown = new Image(); 

	sitedown.src = "images/site_map_down.jpg";
	contactdown.src = "images/contact_us_down.jpg";
	upcomingdown.src = "images/upcoming_shows_down.jpg";
	stockdown.src = "images/stock_quote_down.jpg";
}

function imgOff(imgName) {
	if (document.images) {
		document[imgName].src = eval(imgName + "up.src");
	}
}

function imgOn(imgName) {
	if (document.images) {
		document[imgName].src = eval(imgName + "down.src");
	}
}

function NewWindow(url, windowName) {
        w = 800;
	h = 620;
          var winl = (screen.width - w) / 2;
//           var wint = (screen.height - h) / 2;
           winprops = 'status=no,height='+h+',width='+w+',top=30,left='+winl+',scrollbars=yes,resizable';
           win = window.open(url, windowName, winprops);
           if (parseInt(navigator.appVersion) >= 4) { 
              	win.window.focus(); 
           }        
}

function NewWindowWide(url, windowName) {
        w = screen.width -100;
	h = screen.height-100;
          var winl = (screen.width - w) / 2;
//           var wint = (screen.height - h) / 2;
           winprops = 'status=no,height='+h+',width='+w+',top=30,left=50,scrollbars=yes,resizable';
           win = window.open(url, windowName, winprops);
           if (parseInt(navigator.appVersion) >= 4) { 
              	win.window.focus(); 
           }        
}



