
<!-- ROLLOVERS -->
<!-- The JavaScript Source!! http://javascript.internet.com -->

gs = new Image();
gs.src= "images/nav_gs_on.gif";

art = new Image();
art.src = "images/nav_art_on.gif";
about = new Image();
about.src = "images/nav_about_on.gif";
exhibitions = new Image();
exhibitions.src= "images/nav_exhibitions_on.gif";
store = new Image();
store.src= "images/nav_store_on.gif";
llinks = new Image();
llinks.src= "images/nav_links_on.gif";
contact = new Image();
contact.src= "images/nav_contact_on.gif";

title_01 = new Image();
title_01.src= "images/nav_art_title.gif";
title_02 = new Image();
title_02.src= "images/nav_about_title.gif";
title_03 = new Image();
title_03.src= "images/nav_exhibitions_title.gif";
title_04 = new Image();
title_04.src= "images/nav_store_title.gif";
title_05 = new Image();
title_05.src= "images/nav_links_title.gif";
title_06 = new Image();
title_06.src= "images/nav_contact_title.gif";

art_07 = new Image();
art_07.src="images/art_badapples_off.gif";
art_06 = new Image();
art_06.src="images/art_youlovemetoomuch_off.gif";
art_05 = new Image();
art_05.src="images/art_mantled_on.gif";
art_04 = new Image();
art_04.src="images/art_inktank_on.gif";
art_03 = new Image();
art_03.src="images/art_eyewood_on.gif";
art_02 = new Image();
art_02.src="images/art_blackflag_on.gif";
art_01 = new Image();
art_01.src="images/art_lostlake_on.gif";


art_17 = new Image();
art_17.src="images/art_paintingsonwood_off.gif";
art_16 = new Image();
art_16.src="images/art_youlovemetoomuch_off.gif";
art_15 = new Image();
art_15.src="images/art_mantled_off.gif";
art_14 = new Image();
art_14.src="images/art_inktank_off.gif";
art_13 = new Image();
art_13.src="images/art_eyewood_off.gif";
art_12 = new Image();
art_12.src="images/art_blackflag_off.gif";
art_11 = new Image();
art_11.src="images/art_lostlake_off.gif";

active_link = new Image();
active_link.src="images/art_btn_active.gif";

abo_04 = new Image();
abo_04.src="images/abo_statement_on.gif";
abo_03 = new Image();
abo_03.src="images/abo_bio_on.gif";
abo_02 = new Image();
abo_02.src="images/abo_testimonials_on.gif";
abo_01 = new Image();
abo_01.src="images/abo_press_on.gif";

email = new Image();
email.src="images/con_11_email_on.gif";

emaillist = new Image();
emaillist.src="images/emailList.gif";



// functions for text swapping

function switchid(id){	
	hideallids();
	showdiv(id);
}

function hideallids(){
	//loop through the array and hide each element by id
	for (var i=0;i<ids.length;i++){
		hidediv(ids[i]);
	}		  
}

function hidediv(id) {
	//safe function to hide an element with a specified id
	if (document.getElementById) { // DOM3 = IE5, NS6
		document.getElementById(id).style.display = 'none';
	}
	else {
		if (document.layers) { // Netscape 4
			document.id.display = 'none';
		}
		else { // IE 4
			document.all.id.style.display = 'none';
		}
	}
}

function showdiv(id) {
	//safe function to show an element with a specified id
		  
	if (document.getElementById) { // DOM3 = IE5, NS6
		document.getElementById(id).style.display = 'block';
	}
	else {
		if (document.layers) { // Netscape 4
			document.id.display = 'block';
		}
		else { // IE 4
			document.all.id.style.display = 'block';
		}
	}
}

// end functions for text swapping



// end spam email catcher

 function noSpam(user,domain) {
 locationstring = "mailto:" + user + "@" + domain;
 window.location = locationstring;
 }
 
// end spam email catcher






