<!-- Begin POP-UP SIZES AND OPTIONS CODE


// ONLY USE lowercase FOR ALL OPTIONS


// CHANGE ANY OF THESE VARIABLES TO "no" OR "yes" TO TURN AN OPTION OFF OR ON


var small_icon 		= "yes"		// SHOW THE SMALL POP UP ICON
var popup_text 		= "no"		// HAVE TEXT IN THE POP-UPS
var picture_only	= "yes"		// "yes" FOR ONLY THE PICTURE TO SHOW IN THE POPUPS
var viewer	 	= "no"		// yes/FULL SCREEN OR no/POPUP MODE

var close_button 	= "yes"		// CLOSE BUTTON ON/OFF
var slideshow_button 	= "no"		// SLIDESHOW BUTTON ON/OFF
var right_click_on	= "no"		// RIGHT CLICK PROTECTION ON

var watermark 		= "no"		// WATERMARK ON/OFF
var watermark_horz	= "340"		// WATERMARK POSITION
var watermark_vert	= "200"		// WATERMARK POSITION
var watermark_opacity	= "35"		// WATERMARK OPACITY
var netscape_opacity	= ".35"		// NETSCAPE SET 0 TO 1


// OTHER OPTIONS YOU CAN CHANGE


var text_width		= "225"		// WIDTH OF THE TEXT TABLE
var border_color	= "320033"	// PICTURE OUTLINE COLOR
var background_color	= "320033"	// VIEWER BACKGROUND COLOR

var slideshow_width 	= 1000		// SLIDESHOW POPUP WINDOW WIDTH
var slideshow_height 	= 725		// SLIDESHOW POPUP WINDOW HEIGHT

var view_width 		= 1000	// GALLERY TN POPUP WIDTH
var view_height 	= 725		// GALLERY TN POPUP HEIGHT

var music_width		= "400"		// MUSIC POPUP WIDTH
var music_height	= "200"		// MUSIC POPUP HEIGHT

var scrollbarS 		= "0"		// TURN ON POPUP SCROLLBARS "1" FOR ON "0" FOR OFF
var hide_status		= "no"		// HIDE LINK STATUS
var status_text 	= "Welcome"	// TEXT IN THE STATUS BAR
var zoom	 	= "no"		// SHOW POPUP ZOOM LINKS

var right_click_text	= "You may not right mouse click this page"	// TEXT FOR THE RIGHT CLICK PROTECTION




// YOU DO NOT NEED TO EDIT BELOW THIS LINE

// COPYRIGHT 2004 © Allwebco Design Corporation
// Unauthorized use or sale of this script is strictly prohibited by law

//NEXT AND PREVIOUS SCRIPT  PART1
var image_array = new Array();
var image_index = 0
var picqnt = 1
function next() {
	popwin.document.getElementById('previous_id').style.display='inline';
	image_index++
	popwin.document.getElementById('position_id').innerHTML='image '+(image_index+1)+' from '+picqnt;

	if (image_index == picqnt-1)
	popwin.document.getElementById('next_id').style.display='none';

	if (image_index >= picqnt)
	{
	image_index = picqnt-1
	popwin.document.getElementById('position_id').innerHTML=image_index;
	}

        popwin.document.images["show"].src = image_array[image_index]
	

}

function previous() {
	popwin.document.getElementById('next_id').style.display='inline';
	image_index--
	popwin.document.getElementById('position_id').innerHTML='image '+(image_index+1)+' from '+picqnt;

	if (image_index < 1)
	  popwin.document.getElementById('previous_id').style.display='none';

	if (image_index < 0)
	{
	  image_index=0
	  popwin.document.getElementById('position_id').value=image_index;
	}
	popwin.document.images["show"].src = image_array[image_index]
}
// END OF PREVIOUS SCRIPT PART1


// START SLIDESHOW POPUP CODE




function popUpSlideshow(URL) {

day = new Date();
id = day.getTime();

   if (viewer == "no") {
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=' + scrollbarS + ',location=0,statusbar=0,menubar=0,resizable=0,width='+slideshow_width+',height='+slideshow_height+'');");
}
else 
if (viewer == "yes") {
eval("page" + id + " = window.open(URL);");
}
}






// START GALLERY POPUP CODE



function popUp(URL,TITLE,TEXT) {

   if (viewer == "no") {
var look='toolbar=0,scrollbars=' + scrollbarS + ',location=0,statusbar=0,menubar=0,resizable=0,width='+view_width+',height='+view_height+','
popwin=window.open("","displayWindow",look,"TITLE","TEXT")
popwin.focus();

}
else 
if (viewer == "yes") {
popwin=window.open()
}
popwin.document.open()
popwin.document.write('<html><head><title>Picture Close Up</title>')
popwin.document.write('<link rel=StyleSheet href="coolstyle.css" type="text/css" media="screen">')

   if (right_click_on == "yes") {
popwin.document.write('<META HTTP-EQUIV="imagetoolbar" CONTENT="no">')
popwin.document.write('<script language="JavaScript">')
popwin.document.write('function noRightClick() {')
popwin.document.write('if (event.button==2) {')
popwin.document.write('alert(\''+right_click_text+'\')')
popwin.document.write('}')
popwin.document.write('}')
popwin.document.write('document.onmousedown=noRightClick')
popwin.document.write('</script>')
}
popwin.document.write('</head>')
popwin.document.write('<body bgcolor="#'+background_color+'" leftmargin="0" rightmargin="0" topmargin="0" bottommargin="0" marginheight="0" marginwidth="0">')
popwin.document.write('<TABLE cellpadding="0" cellspacing="0" border="0" width="100%" height="92%" background="picts/background-popup.jpg"><tr><td valign="middle" align="center">')
   if (small_icon == "yes") {
popwin.document.write('<img src="picts/icon-popup-1.gif" style="position: absolute; top: 10px; left: 10px;" ><br>')
   }

   if (picture_only == "no") {
popwin.document.write('</td></tr><tr><td align="center">')
popwin.document.write('<TABLE cellpadding="0" cellspacing="10" border="0" width="'+text_width+ '"><tr><td align="left">')
   if (popup_text == "yes") {
popwin.document.write('<span class="poptitle">'+TITLE+ '</span><br>' +TEXT+'<br>')
}
popwin.document.write('</td></tr></table>')
popwin.document.write('</td><td align="center" valign="middle">')
   }
// ZOOM CODE
   if (zoom == "yes") {
browser_version= parseInt(navigator.appVersion);
browser_type = navigator.appName;
if (browser_type == "Microsoft Internet Explorer" && (browser_version >= 4) && (navigator.userAgent.indexOf("Windows") != -1)) {
popwin.document.write("<div id=\"ZOOM\">");
popwin.document.write("<a href=\"#\" onMouseOver=\"show.style.zoom='1.5'\" onMouseOut=\"show.style.zoom='1'\"><img src=\"picts/zoom-1.gif\" border=\"0\"></a>");
popwin.document.write("<a href=\"#\" onMouseOver=\"show.style.zoom='2.0'\" onMouseOut=\"show.style.zoom='1'\"><img src=\"picts/zoom-2.gif\" border=\"0\"></a>");
popwin.document.write("<a href=\"#\" onMouseOver=\"show.style.zoom='2.5'\" onMouseOut=\"show.style.zoom='1'\"><img src=\"picts/zoom-3.gif\" border=\"0\"></a>");
popwin.document.write("</div>");
}}




//====     <- PREVIOUS & NEXT -> script

switch( URL ){
 case "gallery/Fgallery17-101.jpg":
	image_array=image_array.splice(0)
	image_index = 0
	//start to feel array here

	image_array[0] = "gallery/Fgallery17-101.jpg"
	image_array[1] = "gallery/Fgallery17-102.jpg"
	image_array[2] = "gallery/Fgallery17-103.jpg"
	image_array[3] = "gallery/Fgallery17-104.jpg"
	image_array[4] = "gallery/Fgallery17-105.jpg"
	image_array[5] = "gallery/Fgallery17-106.jpg"
	
	
	picqnt = 6

       break;
case "gallery/Fgallery17-201.jpg":
	image_array=image_array.splice(0)
	image_index = 0
	//start to feel array here

	image_array[0] = "gallery/Fgallery17-201.jpg"
	image_array[1] = "gallery/Fgallery17-202.jpg"
	image_array[2] = "gallery/Fgallery17-203.jpg"
	image_array[3] = "gallery/Fgallery17-204.jpg"
	image_array[4] = "gallery/Fgallery17-205.jpg"
	image_array[5] = "gallery/Fgallery17-206.jpg"
	image_array[6] = "gallery/Fgallery17-207.jpg"
	image_array[7] = "gallery/Fgallery17-208.jpg"
	image_array[8] = "gallery/Fgallery17-209.jpg"
	image_array[9] = "gallery/Fgallery17-210.jpg"	
	image_array[10] = "gallery/Fgallery17-211.jpg"
	image_array[11] = "gallery/Fgallery17-212.jpg"
	image_array[12] = "gallery/Fgallery17-213.jpg"
	
	picqnt = 13

	
	break;

 case "gallery/Fgallery17-301.jpg":
	image_array=image_array.splice(0)
	image_index = 0
	//start to feel array here

	image_array[0] = "gallery/Fgallery17-301.jpg"
	image_array[1] = "gallery/Fgallery17-302.jpg"
	image_array[2] = "gallery/Fgallery17-303.jpg"
	image_array[3] = "gallery/Fgallery17-304.jpg"
	image_array[4] = "gallery/Fgallery17-305.jpg"
	image_array[5] = "gallery/Fgallery17-306.jpg"
	image_array[6] = "gallery/Fgallery17-307.jpg"
	image_array[7] = "gallery/Fgallery17-308.jpg"
	image_array[8] = "gallery/Fgallery17-309.jpg"
	image_array[9] = "gallery/Fgallery17-310.jpg"	
	image_array[10] = "gallery/Fgallery17-311.jpg"
	image_array[11] = "gallery/Fgallery17-312.jpg"
	image_array[12] = "gallery/Fgallery17-313.jpg"
	image_array[13] = "gallery/Fgallery17-314.jpg"
	image_array[14] = "gallery/Fgallery17-315.jpg"
	image_array[15] = "gallery/Fgallery17-316.jpg"
	image_array[16] = "gallery/Fgallery17-317.jpg"
	image_array[17] = "gallery/Fgallery17-318.jpg"
	image_array[18] = "gallery/Fgallery17-319.jpg"
	
	picqnt = 19

       break;

 case "gallery/Fgallery17-401.jpg":
	image_array=image_array.splice(0)
	image_index = 0
	//start to feel array here

	image_array[0] = "gallery/Fgallery17-401.jpg"
	image_array[1] = "gallery/Fgallery17-402.jpg"
	image_array[2] = "gallery/Fgallery17-403.jpg"
	image_array[3] = "gallery/Fgallery17-404.jpg"
	image_array[4] = "gallery/Fgallery17-405.jpg"
	picqnt = 5

       break;

 case "gallery/Fgallery17-501.jpg":
	image_array=image_array.splice(0)
	image_index = 0
	//start to feel array here

	image_array[0] = "gallery/Fgallery17-501.jpg"
	image_array[1] = "gallery/Fgallery17-502.jpg"
	image_array[2] = "gallery/Fgallery17-503.jpg"
	image_array[3] = "gallery/Fgallery17-504.jpg"
	image_array[4] = "gallery/Fgallery17-505.jpg"
	image_array[5] = "gallery/Fgallery17-506.jpg"
	image_array[6] = "gallery/Fgallery17-507.jpg"
	picqnt = 7

       break;


 case "gallery/Fgallery17-601.jpg":
	image_array=image_array.splice(0)
	image_index = 0
	//start to feel array here

	image_array[0] = "gallery/Fgallery17-601.jpg"
	image_array[1] = "gallery/Fgallery17-602.jpg"
	image_array[2] = "gallery/Fgallery17-603.jpg"
	image_array[3] = "gallery/Fgallery17-604.jpg"
	image_array[4] = "gallery/Fgallery17-605.jpg"
	image_array[5] = "gallery/Fgallery17-606.jpg"
	image_array[6] = "gallery/Fgallery17-606a.jpg"
	image_array[7] = "gallery/Fgallery17-607.jpg"
	image_array[8] = "gallery/Fgallery17-608.jpg"
	image_array[9] = "gallery/Fgallery17-609.jpg"	
	picqnt = 10
	
       break;
 case "gallery/Fgallery17-701.jpg":
	image_array=image_array.splice(0)
	image_index = 0
	//start to feel array here

	image_array[0] = "gallery/Fgallery17-701.jpg"
	image_array[1] = "gallery/Fgallery17-702.jpg"
	image_array[2] = "gallery/Fgallery17-703.jpg"
	image_array[3] = "gallery/Fgallery17-704.jpg"
	image_array[4] = "gallery/Fgallery17-705.jpg"
	image_array[5] = "gallery/Fgallery17-706.jpg"
	picqnt = 6	

	
       break;
	   
	   case "gallery/Fgallery17-801.jpg":
	image_array=image_array.splice(0)
	image_index = 0
	//start to feel array here

	image_array[0] = "gallery/Fgallery17-801.jpg"
	image_array[1] = "gallery/Fgallery17-802.jpg"
	image_array[2] = "gallery/Fgallery17-803.jpg"
	image_array[3] = "gallery/Fgallery17-804.jpg"
	image_array[4] = "gallery/Fgallery17-805.jpg"
	image_array[5] = "gallery/Fgallery17-806.jpg"
	image_array[6] = "gallery/Fgallery17-807.jpg"
	image_array[7] = "gallery/Fgallery17-808.jpg"
	image_array[8] = "gallery/Fgallery17-809.jpg"
	image_array[9] = "gallery/Fgallery17-810.jpg"	
	image_array[10] = "gallery/Fgallery17-811.jpg"
	image_array[11] = "gallery/Fgallery17-812.jpg"
	image_array[12] = "gallery/Fgallery17-813.jpg"
	image_array[13] = "gallery/Fgallery17-814.jpg"
	image_array[14] = "gallery/Fgallery17-815.jpg"
	
	picqnt = 15
	
	 break;
	   
	   case "gallery/Fgallery17-P1.jpg":
	image_array=image_array.splice(0)
	image_index = 0
	//start to feel array here

	image_array[0] = "gallery/Fgallery17-P1.jpg"
	image_array[1] = "gallery/Fgallery17-309.jpg"
	image_array[2] = "gallery/Fgallery17-310.jpg"
	
	
	picqnt = 3
	
	
	break;
	   
	   case "gallery/Fgallery17-P2.jpg":
	image_array=image_array.splice(0)
	image_index = 0
	//start to feel array here

	image_array[0] = "gallery/Fgallery17-P2.jpg"
	image_array[1] = "gallery/Fgallery17-608.jpg"
	image_array[2] = "gallery/Fgallery17-815.jpg"
	
	
	picqnt = 3
	
	
	break;
	   
	   case "gallery/Fgallery17-P3.jpg":
	image_array=image_array.splice(0)
	image_index = 0
	//start to feel array here

	image_array[0] = "gallery/Fgallery17-P3.jpg"
	image_array[1] = "gallery/Fgallery17-101.jpg"
	image_array[2] = "gallery/Fgallery17-213.jpg"
	image_array[3] = "gallery/Fgallery17-312.jpg"
	
	
	picqnt = 4
	
	break;
	   
	   case "gallery/Fgallery17-P4.jpg":
	image_array=image_array.splice(0)
	image_index = 0
	//start to feel array here

	image_array[0] = "gallery/Fgallery17-P4.jpg"
	image_array[1] = "gallery/Fgallery17-813.jpg"
	image_array[2] = "gallery/Fgallery17-802.jpg"
	
	
	picqnt = 3
	
	break;
	   
	   case "gallery/Fgallery17-P6.jpg":
	image_array=image_array.splice(0)
	image_index = 0
	//start to feel array here

	image_array[0] = "gallery/Fgallery17-P6.jpg"
	image_array[1] = "gallery/Fgallery17-211.jpg"
	image_array[2] = "gallery/Fgallery17-814.jpg"
	image_array[3] = "gallery/Fgallery17-P6a.jpg"
	
	
	picqnt = 4
	
	break;
	   
	   case "gallery/Fgallery17-P7.jpg":
	image_array=image_array.splice(0)
	image_index = 0
	//start to feel array here

	image_array[0] = "gallery/Fgallery17-P7.jpg"
	image_array[1] = "gallery/Fgallery17-307.jpg"
	image_array[2] = "gallery/Fgallery17-316.jpg"
	image_array[3] = "gallery/Fgallery17-601.jpg"
	
	
	picqnt = 4
	
	break;
	   
	   case "gallery/Fgallery17-P8.jpg":
	image_array=image_array.splice(0)
	image_index = 0
	//start to feel array here

	image_array[0] = "gallery/Fgallery17-P8.jpg"
	image_array[1] = "gallery/Fgallery17-209.jpg"
		
	picqnt = 2
	
	
	break;
	
	break;
	   
	   case "gallery/Fgallery17-P9.jpg":
	image_array=image_array.splice(0)
	image_index = 0
	//start to feel array here

	image_array[0] = "gallery/Fgallery17-P9.jpg"
	image_array[1] = "gallery/Fgallery17-306.jpg"
	image_array[2] = "gallery/Fgallery17-601.jpg"
	image_array[3] = "gallery/Fgallery17-603.jpg"
	
	
	picqnt = 4

	
       break;
  //do not change this lines
  default:
	image_array=image_array.splice(0)
	image_index = 0
	picqnt = 1


}
//====     <- PREVIOUS & NEXT -> script ends here




popwin.document.write('<TABLE cellpadding="0" cellspacing="0" border="1" bordercolor="#' + border_color + '" style="border-collapse: collapse"><tr><td>')
popwin.document.write('<img src="'+URL+'" name="show"><br>')
popwin.document.write('</td></tr></table>')
popwin.document.write('<br>')
popwin.document.write('<TABLE cellpadding="0" cellspacing="0" border="0" align=center>')
popwin.document.write('<tr><td align=center width=30><div id=previous_id style="display: none;"><input type=button id="btn_previous" onClick="window.opener.previous();" value="<<" title="Previous" class="button-popups" onmouseover=this.className="buttonon-popups" onmouseout=this.className="button-popups"></div></td>')
    if (picqnt>1)
{
popwin.document.write('<td align=center width=120><div id="position_id">image 1 from '+picqnt+'</div></td>');
popwin.document.write('<td width=30 align=centerwidth=30><div id=next_id style="display: inline">');
popwin.document.write('<input type=button id="btn_next" onClick="window.opener.next();" value=">>" title="Next" class="button-popups" onmouseover=this.className="buttonon-popups" onmouseout=this.className="button-popups"></div></td></tr>')
}
   if (close_button == "yes") {
popwin.document.write('<tr><td colspan=3 align=center><form style="margin: 0px;"><input type="button" value="Close" onmouseover="this.className=\'buttonon-popups\'" onmouseout="this.className=\'button-popups\'" class="button-popups" onClick=\'self.close()\'></form>')
}
   if (slideshow_button == "yes") {
popwin.document.write('</td><td>')
popwin.document.write('<form action="slideshow.htm" style="margin: 0px"><input type="submit" value="Slideshow" onmouseover="this.className=\'buttonon-popups\'" onmouseout="this.className=\'button-popups\'" class="button-popups"></form>')
}
popwin.document.write('</td></tr></table>')
// START WATERMARK CODE
   if (watermark == "yes") {
popwin.document.write('<div id="watermark" style=" LEFT: ' + watermark_horz + 'px; POSITION: absolute; TOP: ' + watermark_vert + 'px; Filter: Alpha(Opacity=' + watermark_opacity + ');-moz-opacity:'+ netscape_opacity +'">')
popwin.document.write('<TABLE cellpadding="0" cellspacing="0" border="0"><tr><td>')
popwin.document.write('<img src="picts/watermark.gif"><br>')
popwin.document.write('</td></tr></table>')
popwin.document.write('</div>')
}
popwin.document.write('</td></tr></table>')
popwin.document.write('</body></html>')
popwin.document.close()
}





// MUSIC POPUP CODE



	function PLAYMUSIC() {
	   msg=open('music/music-4.htm','frameWindow','scrollbars=no,toolbar=no,resizable=yes,directories=no,menubar=no,location=no,status=no,left=0,top=250,width=' + music_width + ',height=' + music_height + '');
	 }



// FULL SCREEN MODE

function fullScreen() {
  window.open(location.href,'fullscreen','fullscreen,scrollbars')
}



// MOUSEOVER STATUS

   if (hide_status == "yes") {

function hidestatus(){
window.status=status_text
return true
}

if (document.layers)
document.captureEvents(Event.MOUSEOVER | Event.MOUSEOUT)

document.onmouseover=hidestatus
document.onmouseout=hidestatus

}





// HOMEPAGE IMAGE FADE


function high(fader2)
{
theobject=fader2;
highlighting=setInterval("highlightit(theobject)",50);
	
}
function low(fader2)
{
clearInterval(highlighting);
fader2.filters.alpha.opacity=50;
}
function highlightit(cur2)
{
if(cur2.filters.alpha.opacity<100)
cur2.filters.alpha.opacity+=5
else if(window.highlighting)
clearInterval(highlighting)
}




//  End -->
