	function smHacks(){
		if (window.navigator.appName == "Microsoft Internet Explorer"){
			text1 = 1;
			img2 = 2;
			text2 = 3;
			text3 = 5;
		}
		else{
			text1 = 3;
			img2 = 5;
			text2 = 7;
			text3 = 11;
		}
		if(document.getElementById('cartadd') != null){
			document.getElementById('cartadd').parentNode.parentNode.childNodes[text1].childNodes[0].innerHTML='Order Prints & Gifts';
			if(document.getElementById('r2') == null){
				document.getElementById('cartadd').parentNode.parentNode.childNodes[text2].innerHTML='';
				document.getElementById('cartadd').parentNode.parentNode.childNodes[img2].innerHTML='';
			}
			document.getElementById('cartadd').parentNode.parentNode.childNodes[text3].childNodes[0].innerHTML='View Orders';
			document.getElementById('cartadd').parentNode.parentNode.childNodes[text1].style.textAlign='left';
			document.getElementById('cartadd').parentNode.parentNode.childNodes[text3].style.textAlign='left';
		}
		var atags = document.getElementsByTagName("a");
		for(var i = 0; i < atags.length; i++) {
			var tag = atags[i];
			if (tag.href == "http://" + location.host + "/"){
				//tag.parentNode.parentNode.style.visibility = "hidden";
				tag.innerHTML = "Home";
				tag.href = "http://brilliantphoton.com/"
			}
		}
		var atags = document.getElementsByTagName("a");
		for(var i = 0; i < atags.length; i++) {
			var tag = atags[i];
			if (tag.href == "http://" + location.host + "/"){
				//tag.parentNode.parentNode.style.visibility = "hidden";
				tag.innerHTML = "Home";
				tag.href = "http://brilliantphoton.com/"
			}
		}
		var atags = document.getElementsByTagName("a");
		for(var i = 0; i < atags.length; i++) {
			var tag = atags[i];
			if (tag.href == "http://" + location.host + "/"){
				//tag.parentNode.parentNode.style.visibility = "hidden";
				tag.innerHTML = "Home";
				tag.href = "http://brilliantphoton.com/"
			}
		}
		if(document.getElementById('r1') != null){
			document.getElementById('r1').innerHTML = '<table align=center width=340 border=0 cellpadding=0 cellspacing=0 class=caption2><tr><td><img src="http://brilliantphoton.com/images/spacer.gif" width=100 height=1 border=0 alt=""></td><td><img src="http://brilliantphoton.com/images/spacer.gif" width=60 height=1 border=0 alt=""></td><td><img src="http://brilliantphoton.com/images/spacer.gif" width=20 height=1 border=0 alt=""></td><td><img src="http://brilliantphoton.com/images/spacer.gif" width=100 height=1 border=0 alt=""></td><td><img src="http://brilliantphoton.com/images/spacer.gif" width=60 height=1 border=0 alt=""></td></tr><tr><td colspan=2 class=caption2header><b>Print Rates</b></td><td> </td><td colspan=2 class=caption2header><b>Gift Rates</b></td></tr><tr><td colspan=5 style="background-color:#70ADEC"><img src="http://brilliantphoton.com/images/spacer.gif" width=1 height=1 border=0 alt=""></td></tr><tr valign=top><td>8x10</td><td class=caption2 align=right>$18</td><td> </td><td>4x6 Postcard</td><td class=caption2 align=right>$7</td></tr><tr><td>5x7</td><td class=caption2 align=right>$14</td><td> </td><td>Magnets</td><td class=caption2 align=right>$7 - $9</td></tr><tr><td>4x6</td><td class=caption2 align=right>$10</td><td> </td><td>T-Shirt</td><td class=caption2 align=right>$20</td></tr></table><br>';
		}
		else{
			if(document.getElementById('event') != null){
				document.getElementById('event').innerHTML = '<table align=center width=540 border=0 cellpadding=0 cellspacing=0 class=caption2><tr><td colspan=2 class=caption2header><b>Print Rates</b></td><td class=caption2header><b>Digital Downloads</b></td></tr><tr><td colspan=3 style="background-color:#70ADEC"><img src="http://brilliantphoton.com/images/spacer.gif" width=1 height=1 border=0 alt=""></td></tr><tr><td><table align=center width=160 border=0 cellpadding=0 cellspacing=0 class=caption2><tr><td><img src="http://brilliantphoton.com/images/spacer.gif" width=100 height=1 border=0 alt=""></td><td><img src="http://brilliantphoton.com/images/spacer.gif" width=60 height=1 border=0 alt=""></td></tr><tr valign=top><tr><td>4x6</td><td class=caption2 align=right>$10</td></tr><tr><td>5x7</td><td class=caption2 align=right>$14</td></tr><tr valign=top><td>8x10</td><td class=caption2 align=right>$18</td></tr><tr><td>16x20</td><td class=caption2 align=right>$53</td></tr></table></td><td><img src="http://brilliantphoton.com/images/spacer.gif" width=20 height=1 border=0 alt=""></td><td class=caption2>Digital prints are available for personal use for $18 per photo.  Please specify the photos you wish to purchase when ordering.<br><a href="/contact.asp?comment=I would like to purchase the following photos as a digital download:">Order Digital Downloads</a><br><br>Commercial use rights may also be obtained.  Please <a href="/contact.asp?comment=I am interested in obtaining digital rights to a photograph for commercial use.">email</a> for current rates.</td></tr></table>';
			}
		}
	}
	function newImage(arg) {
		if (document.images) {
			rslt = new Image();
			rslt.src = arg;
			return rslt;
		}
	}
	
	function changeImages() {
		if (document.images && (preloadFlag == true)) {
			for (var i=0; i<changeImages.arguments.length; i+=2) {
				document[changeImages.arguments[i]].src = changeImages.arguments[i+1];
			}
		}
	}
	
	var preloadFlag = false;
	function preloadImages() {
		if (document.images) {
			photography_over = newImage("http://brilliantphoton.com/images/nav/photography-over.gif");
			photography_down = newImage("http://brilliantphoton.com/images/nav/photography-down.gif");
			design_over = newImage("http://brilliantphoton.com/images/nav/design-over.gif");
			design_down = newImage("http://brilliantphoton.com/images/nav/design-down.gif");
			about_over = newImage("http://brilliantphoton.com/images/nav/about-over.gif");
			about_down = newImage("http://brilliantphoton.com/images/nav/about-down.gif");
			contact_over = newImage("http://brilliantphoton.com/images/nav/contact-over.gif");
			contact_down = newImage("http://brilliantphoton.com/images/nav/contact-down.gif");
			cart_over = newImage("http://brilliantphoton.com/images/cart-over.gif");
			cart_down = newImage("http://brilliantphoton.com/images/cart-down.gif");
			preloadFlag = true;
		}
	}