// JavaScript Document
<!--
	photoWindow = null;
	photoVid = null;

function openWindow ( photoName, photoWidth, photoHeight)	{
		 extraHeight = 0;
		 extraWidth = 0;
		 if (photoWidth < 300) 
			{
				Multi=300/photoWidth;
				photoWidth=photoWidth*Multi;
			}
		 winWidth = photoWidth + extraWidth;
		 winHeight = photoHeight + extraHeight;
		 
		 if (photoWindow == null) photoWindow = window.open('','photoWindow','toolbar=no,location=no,directories=no,status,scrollbars=no,Width=' + winWidth + ',Height=' + winHeight + ',resizable=no')
		   else
		     if (!photoWindow.closed) photoWindow.window.resizeTo (winWidth,winHeight)
		      else photoWindow = window.open('','photoWindow','toolbar=no,location=no,directories=no,status,scrollbars=no,Width=' + winWidth + ',Height=' + winHeight + ',resizable=yes');
		
		 photoWindow.document.writeln ('<?xml version="1.0" encoding="iso-8859-1"?>');
		 photoWindow.document.writeln ('<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">');	  
		 photoWindow.document.writeln ('<html xmlns="http://www.w3.org/1999/xhtml">');	  	      
		 photoWindow.document.writeln ('<head>');
		 photoWindow.document.writeln ('<title>.: Floracing - Photos :.</title>');
		 photoWindow.document.writeln ('<style type="text/css"> img { cursor: pointer; padding: 0px; margin: 0px;} body { margin: 0px; padding: 0px; background-image: url(../images/background.gif);}</style>');				 
		 photoWindow.document.writeln ('</head>');
		 photoWindow.document.writeln ('<body>');
		 photoWindow.document.writeln ('<img src="' + photoName + '" alt="' + photoName + '" onClick="window.close()" />');
		 photoWindow.document.writeln ('</body></html>');
		 photoWindow.document.close ();
		 photoWindow.window.focus();
	};
	
function openVid (photoName)	{
		 photoWindow = window.open('','photoWindow','toolbar=no,location=no,directories=no,status,scrollbars=no,Width=425,Height=335,resizable=no');
		
		 photoWindow.document.writeln ('<?xml version="1.0" encoding="iso-8859-1"?>');
		 photoWindow.document.writeln ('<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">');	  
		 photoWindow.document.writeln ('<html xmlns="http://www.w3.org/1999/xhtml">');	  	      
		 photoWindow.document.writeln ('<head>');
		 photoWindow.document.writeln ('<title>.: Floracing - Photos :.</title>');
		 photoWindow.document.writeln ('<style type="text/css"> img { cursor: pointer; padding: 0px; margin: 0px;} body { margin: 0px; padding: 0px; background-image: url(images/background.gif);}</style>');				 
		 photoWindow.document.writeln ('</head>');
		 photoWindow.document.writeln ('<body>');
		 photoWindow.document.writeln ('<object type="application/x-shockwave-flash" data="'+ photoName +'" width="425" height="335"><param name="movie" value="'+ photoName +'" /><param name="allowfullscreen" value="true" /></object>');
		 photoWindow.document.writeln ('</body></html>');
		 photoWindow.document.close ();
		 photoWindow.window.focus();
	};
	
// -->

<!--
function twNeowin(wurl,wnom,w,h,ws) { 
  var options = "toolbar=0,location=0,directories=0,status=0,top=250,left=150,menubar=0,resizable=0, scrollbars="+ws+",width="+w+",height="+h;
  var twNeowin = window.open(wurl, wnom, options);
  if(twNeowin.focus){twNeowin.focus();} 
}

//-->
