
//Adding Google Analytics Code

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-18731165-6']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();


function hide(layer_ref) { 

state = 'none'; 
 
if (document.all) { //IS IE 4 or 5 (or 6 beta) 
eval( "document.all." + layer_ref + ".style.display = state"); 
} 
if (document.layers) { //IS NETSCAPE 4 or below 
document.layers[layer_ref].display = state; 
} 
if (document.getElementById &&!document.all) { 
hza = document.getElementById(layer_ref); 
hza.style.display = state; 
} 
} 




ver = navigator.appVersion.substring(0, 1);
 flip=0;
 if ( (navigator.appName == "Netscape") && ( ver >= 3 ) ) flip=1;
 if ( (navigator.appName == "Microsoft Internet Explorer") && (ver >= 4) ) flip=1;

function change(a,im)
{
//document.ff.flag.src=im; // yawn .. doesn't work in 3.0 on unix
x = eval("document."+a);
if (flip ==1)
  x.src=im;
}

function changeLong(a,im,msg)
{
//document.ff.flag.src=im; // yawn .. doesn't work in 3.0 on unix
x = eval("document."+a);
if (msg!="null")
  window.status=msg;
if (flip ==1)
  x.src=im;
}

var fred=1;

function MouseOver(image1,image2,imgflags, imghref)
{
var x = "a"+fred;
  document.writeln("<a onMouseOver='change(\""+x+"\",\""+image2+"\")' onMouseOut='change(\""+x+"\",\""+image1+"\")' href=\""+imghref+"\"><IMG name=\""+x+"\" "+imgflags+" SRC=\""+image1+"\"></a>");
  fred=fred+1;
}

function MouseOverLong(image1,image2,imgflags, imghref, hrefflags,msg)
{
var x = "a"+fred;
  document.writeln("<a "+hrefflags+" onMouseOver='changeLong(\""+x+"\",\""+image2+"\",\""+msg+"\")' onMouseOut='changeLong(\""+x+"\",\""+image1+"\",\"\")' href=\""+imghref+"\"><IMG name=\""+x+"\" "+imgflags+" SRC=\""+image1+"\"></a>");
  fred=fred+1;
}




function gup( name )
{
  name = name.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]");
  var regexS = "[\\?&]"+name+"=([^&#]*)";
  var regex = new RegExp( regexS );
  var results = regex.exec( window.location.href );
  if( results == null )
    return "";
  else
    return results[1];
}


if (document.images) {

//ID = request.getParameter( "id" );

var ID = gup( 'id' );

photo0 = new Image;
photo1 = new Image;
photo2 = new Image;
photo3 = new Image;
photo4 = new Image;
photo5 = new Image;
photo6 = new Image;
photo7 = new Image;
photo8 = new Image;
photo9 = new Image;
photo10 = new Image;
photo11 = new Image;
photo12 = new Image;
photo0.src = 'images/0.jpg';
photo1.src = 'images/1.jpg';
photo2.src = 'images/2.jpg';
photo3.src = 'images/3.jpg';
photo4.src = 'images/4.jpg';
photo5.src = 'images/5.jpg';
photo6.src = 'images/6.jpg';
photo7.src = 'images/7.jpg';
photo8.src = 'images/8.jpg';
photo9.src = 'images/9.jpg';
photo10.src = 'images/10.jpg';
photo11.src = 'images/11.jpg';
photo12.src = 'images/12.jpg';
} else {
photo0 = '';
photo1 = '';
photo2 = '';
photo3 = '';
photo4 = '';
photo5 = '';
photo6 = '';
photo7 = '';
photo8 = '';
photo9 = '';
photo10 = '';
photo11 = '';
photo12 = '';
document.rollimg = '';
} 


