function Openme(newin) {
        flyout=window.open(newin,"def","toolbar=0,location=0,directories=0,status=0,resizable=1,scrollbars=1,width=300,height=300,top=0,left=0")
}


 
agent = navigator.userAgent;
browserVer = 0;

browser = (((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) >= 3 )) ||
  ((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 4 )));

if (browser) {browserVer = 1}

if (browserVer == 1) {
	headeroff = new Image();
		headeroff.src = "images/soul.gif";
button1off = new Image();
        	button1off.src = "images/portraits.gif";
button2off = new Image();
        	button2off.src = "images/corporate.gif";
button3off = new Image();
        	button3off.src = "images/bar.gif";
button4off = new Image();
        	button4off.src = "images/school.gif";
button5off = new Image();
        	button5off.src = "images/weddings.gif";

	
    headeron = new Image();
		headeron.src = "images/soul_hi.gif";
	button1on = new Image();
        	button1on.src = "images/portraits_on.gif";
	button2on = new Image();
        	button2on.src = "images/corporate_on.gif";
	button3on = new Image();
        	button3on.src = "images/bar_on.gif";
	button4on = new Image();
        	button4on.src = "images/school_on.gif";
	button5on = new Image();
        	button5on.src = "images/weddings_on.gif";
			

	splashoff = new Image();
		splashoff.src = "images/photography_start.jpg";
	splashon = new Image();
		splashon.src = "images/photography_start.jpg";

	but1on = new Image();
		but1on.src = "images/portraits_full.jpg";
	but2on = new Image();
		but2on.src = "images/corporate_full.jpg";
	but3on = new Image();
		but3on.src = "images/bar_full.jpg";
	but4on = new Image();
		but4on.src = "images/school_full.jpg";
	but5on = new Image();
		but5on.src = "images/weddings_full.jpg";

}

function move_out(imgName,splash) {
	if (browserVer == 1) {
              imgOff = eval(imgName + "off.src");
		textOff = eval(splash + "off.src");
              document [imgName].src = imgOff;
		document [splash].src = textOff;
        }
	
}

function move_in(imgName,textName,splash) {
	if (browserVer == 1) {
               imgOn = eval(imgName + "on.src");
		textOn = eval(textName + "on.src");
               document [imgName].src = imgOn;
		document [splash].src = textOn;
        }
}

function playSound(sound) {
		location = sound;
}
