
agent = navigator.userAgent

browserVer = 1

if (agent.indexOf("a/3",6) != -1) 
{   browserVer = 1  }
else 
{   if (agent.indexOf("a/4",6) != -1)    {browserVer = 1}
}


if (browserVer == 1) {
	
			illustrationsoff=new Image;
			illustrationsoff.src="images/illustrations_off.gif";
			illustrationson=new Image;
			illustrationson.src="images/illustrations_on.gif";


			photographyoff=new Image;
			photographyoff.src="images/photography_off.gif";
			photographyon=new Image;
			photographyon.src="images/photography_on.gif";


			ecardsoff=new Image;
			ecardsoff.src="images/ecards_off.gif";
			ecardson=new Image;
			ecardson.src="images/ecards_on.gif";




			miscellaneousoff=new Image;
			miscellaneousoff.src="images/miscellaneous_off.gif";
			miscellaneouson=new Image;
			miscellaneouson.src="images/miscellaneous_on.gif";	
			
			
			
			
						illustrations2off=new Image;
			illustrations2off.src="../images/illustrations_off.gif";
			illustrations2on=new Image;
			illustrations2on.src="../images/illustrations_on.gif";


			ecards2off=new Image;
			ecards2off.src="../images/ecards_off.gif";
			ecards2on=new Image;
			ecards2on.src="../images/ecards_on.gif";


			photography2off=new Image;
			photography2off.src="../images/photography_off.gif";
			photography2on=new Image;
			photography2on.src="../images/photography_on.gif";


			miscellaneous2off=new Image;
			miscellaneous2off.src="../images/miscellaneous_off.gif";
			miscellaneous2on=new Image;
			miscellaneous2on.src="../images/miscellaneous_on.gif";	
			
			
			
			surgeonoff=new Image;
			surgeonoff.src="g_b_images/surgeon_off.gif";
			surgeonon=new Image;
			surgeonon.src="g_b_images/surgeon_on.gif";


			loveoff=new Image;
			loveoff.src="g_b_images/love_off.gif";
			loveon=new Image;
			loveon.src="g_b_images/love_on.gif";


			shooteroff=new Image;
			shooteroff.src="g_b_images/shooter_off.gif";
			shooteron=new Image;
			shooteron.src="g_b_images/shooter_on.gif";


			banditoff=new Image;
			banditoff.src="g_b_images/bandit_off.gif";
			banditon=new Image;
			banditon.src="g_b_images/bandit_on.gif";	
			
			
			torerooff=new Image;
			torerooff.src="g_b_images/torero_off.gif";
			toreroon=new Image;
			toreroon.src="g_b_images/torero_on.gif";	

			
			goodoff=new Image;
			goodoff.src="g_b_images/good_off.gif";
			goodon=new Image;
			goodon.src="g_b_images/good_on.gif";
			

			badoff=new Image;
			badoff.src="g_b_images/bad_off.gif";
			badon=new Image;
			badon.src="g_b_images/bad_on.gif";

		
}
function change(imgDocID,imgObjName)
{
	document.images[imgDocID].src = eval(imgObjName + ".src");
}
	