/* Nav Menu Code */
var menu=function(){
	var t=15,z=50,s=6,a;
	function dd(n){this.n=n; this.h=[]; this.c=[]}
	dd.prototype.init=function(p,c){
		a=c; var w=document.getElementById(p), s=w.getElementsByTagName('ul'), l=s.length, i=0;
		for(i;i<l;i++){
			var h=s[i].parentNode; this.h[i]=h; this.c[i]=s[i];
			h.onmouseover=new Function(this.n+'.st('+i+',true)');
			h.onmouseout=new Function(this.n+'.st('+i+')');
		}
	}
	dd.prototype.st=function(x,f){
		var c=this.c[x], h=this.h[x], p=h.getElementsByTagName('a')[0];
		clearInterval(c.t); c.style.overflow='hidden';
		if(f){
			p.className+=' '+a;
			if(!c.mh){c.style.display='block'; c.style.height=''; c.mh=c.offsetHeight; c.style.height=0}
			if(c.mh==c.offsetHeight){c.style.overflow='visible'}
			else{c.style.zIndex=z; z++; c.t=setInterval(function(){sl(c,1)},t)}
		}else{p.className=p.className.replace(a,''); c.t=setInterval(function(){sl(c,-1)},t)}
	}
	function sl(c,f){
		var h=c.offsetHeight;
		if((h<=0&&f!=1)||(h>=c.mh&&f==1)){
			if(f==1){c.style.filter=''; c.style.opacity=1; c.style.overflow='visible'}
			clearInterval(c.t); return
		}
		var d=(f==1)?Math.ceil((c.mh-h)/s):Math.ceil(h/s), o=h/c.mh;
		c.style.opacity=o; c.style.filter='alpha(opacity='+(o*100)+')';
		c.style.height=h+(d*f)+'px'
	}
	return{dd:dd}
}();

/* var imga = new Image(); */
var img1 = new Image();
var img2 = new Image();
var img3 = new Image();
var img4 = new Image();
var img5 = new Image();
var img6 = new Image();
var img7 = new Image();
var img8 = new Image();
var img9 = new Image();
var img10 = new Image();
var img11 = new Image();
var img12 = new Image();
var img13 = new Image();
var img14 = new Image();
var img15 = new Image();
var img16 = new Image();
var img17 = new Image();
var img18 = new Image();
var img19 = new Image();
var img20 = new Image();
var img21 = new Image();
var img22 = new Image();
var img23 = new Image();
var img24 = new Image();
var img25 = new Image();
var img26 = new Image();
var img27 = new Image();
var img28 = new Image();
var img29 = new Image();
var img30 = new Image();

/* imga.src = "img_a.jpg"; */
img1.src = "img_01.jpg"; 
img2.src = "img_02.jpg";
img3.src = "img_03.jpg"; 
img4.src = "img_04.jpg"; 
img5.src = "img_05.jpg"; 
img6.src = "img_06.jpg"; 
img7.src = "img_07.jpg"; 
img8.src = "img_08.jpg"; 
img9.src = "img_09.jpg"; 
img10.src = "img_10.jpg"; 
img11.src = "img_11.jpg"; 
img12.src = "img_12.jpg"; 
img13.src = "img_13.jpg"; 
img14.src = "img_14.jpg"; 
img15.src = "img_15.jpg"; 
img16.src = "img_16.jpg"; 
img17.src = "img_17.jpg"; 
img18.src = "img_18.jpg"; 
img19.src = "img_19.jpg"; 
img20.src = "img_20.jpg"; 
img21.src = "img_21.jpg"; 
img22.src = "img_22.jpg"; 
img23.src = "img_23.jpg"; 
img24.src = "img_24.jpg"; 
img25.src = "img_25.jpg"; 
img26.src = "img_26.jpg"; 
img27.src = "img_27.jpg"; 
img28.src = "img_28.jpg"; 
img29.src = "img_29.jpg"; 
img30.src = "img_30.jpg"; 

function imgSwap1() {
document.img1.src=img1.src;
}
function imgSwap2() {
document.img1.src=img2.src;
}
function imgSwap3() {
document.img1.src=img3.src;
}
function imgSwap4() {
document.img1.src=img4.src;
}
function imgSwap5() {
document.img1.src=img5.src;
}
function imgSwap6() {
document.img1.src=img6.src;
}
function imgSwap7() {
document.img1.src=img7.src;
}
function imgSwap8() {
document.img1.src=img8.src;
}
function imgSwap9() {
document.img1.src=img9.src;
}
function imgSwap10() {
document.img1.src=img10.src;
}
function imgSwap11() {
document.img1.src=img11.src;
}
function imgSwap12() {
document.img1.src=img12.src;
}
function imgSwap13() {
document.img1.src=img13.src;
}
function imgSwap14() {
document.img1.src=img14.src;
}
function imgSwap15() {
document.img1.src=img15.src;
}
function imgSwap16() {
document.img1.src=img16.src;
}
function imgSwap17() {
document.img1.src=img17.src;
}
function imgSwap18() {
document.img1.src=img18.src;
}
function imgSwap19() {
document.img1.src=img19.src;
}
function imgSwap20() {
document.img1.src=img20.src;
}
function imgSwap21() {
document.img1.src=img21.src;
}
function imgSwap22() {
document.img1.src=img22.src;
}
function imgSwap23() {
document.img1.src=img23.src;
}
function imgSwap24() {
document.img1.src=img24.src;
}
function imgSwap25() {
document.img1.src=img25.src;
}
function imgSwap26() {
document.img1.src=img26.src;
}
function imgSwap27() {
document.img1.src=img27.src;
}
function imgSwap28() {
document.img1.src=img28.src;
}
function imgSwap29() {
document.img1.src=img29.src;
}
function imgSwap30() {
document.img1.src=img30.src;
}

/*
function imgSwap1() {
document.imga.src=img1.src;
}
function imgSwap2() {
document.imga.src=img2.src;
}
function imgSwap3() {
document.imga.src=img3.src;
}
function imgSwap4() {
document.imga.src=img4.src;
}
function imgSwap5() {
document.imga.src=img5.src;
}
function imgSwap6() {
document.imga.src=img6.src;
}
function imgSwap7() {
document.imga.src=img7.src;
}
function imgSwap8() {
document.imga.src=img8.src;
}
function imgSwap9() {
document.imga.src=img9.src;
}
function imgSwap10() {
document.imga.src=img10.src;
}
function imgSwap11() {
document.imga.src=img11.src;
}
function imgSwap12() {
document.imga.src=img12.src;
}
function imgSwap13() {
document.imga.src=img13.src;
}
function imgSwap14() {
document.imga.src=img14.src;
}
function imgSwap15() {
document.imga.src=img15.src;
}
function imgSwap16() {
document.imga.src=img16.src;
}
function imgSwap17() {
document.imga.src=img17.src;
}
function imgSwap18() {
document.imga.src=img18.src;
}
function imgSwap19() {
document.imga.src=img19.src;
}
function imgSwap20() {
document.imga.src=img20.src;
}
function imgSwap21() {
document.imga.src=img21.src;
}
function imgSwap22() {
document.imga.src=img22.src;
}
function imgSwap23() {
document.imga.src=img23.src;
}
function imgSwap24() {
document.imga.src=img24.src;
}
function imgSwap25() {
document.imga.src=img25.src;
}
function imgSwap26() {
document.imga.src=img26.src;
}
function imgSwap27() {
document.imga.src=img27.src;
}
function imgSwap28() {
document.imga.src=img28.src;
}
function imgSwap29() {
document.imga.src=img29.src;
}
function imgSwap30() {
document.imga.src=img30.src;
}
*/
function refresh()
{
    window.location.reload( false );
}


function fullScreen(theURL) {
window.open(theURL, '', 'fullscreen=yes, scrollbars=yes');
}

