function noclick(){
if (window.Event) 
  document.captureEvents(Event.MOUSEUP); 
function nocontextmenu()  {
	event.cancelBubble = true
	event.returnValue = false;
	return false;
}
function norightclick(e)	{
	if (window.Event)	{
		if (e.which == 2 || e.which == 3)
			return false;
	}else
		if (event.button == 2 || event.button == 3){
			event.cancelBubble = true
			event.returnValue = false;
			return false;
		}
	}
document.oncontextmenu = nocontextmenu;		
document.onmousedown = norightclick;		
}

function toggle(targetId)
{
	if (document.all)
	{
     targetElement = document.all(targetId);
     if (targetElement.style.display == "none") {
	targetElement.style.display = "";
    } else {
	targetElement.style.display = "none";
     }
	}
}








// 	   $(document).ready(function(){
								  
//$(".tableCss").css("display","none");   									  
//$(".tableCss").show("slow");   	
//setTimeout("$('.imgIntro').hide('slow'); ",1000);
//$('.imgIntro').hide('slow');
//$('#imgTop').show('slow');
//setTimeout("$('.tableCss').show('slow'); ",1000);
//setTimeout("$('#imgTop').show('slow'); ",2000);
//$('.tableCss').show('slow');
//}); 








function funFname(){
if(document.getElementById('fname').value.length< 4){ document.getElementById('fname').style.backgroundColor='#FF8C8C' } else { document.getElementById('fname').style.backgroundColor='#EFE9E2' }
}
function funFemail(){
if( (document.getElementById('femail').value.indexOf(".") > 2)  && (document.getElementById('femail').value.indexOf("@") > 0) ){ document.getElementById('femail').style.backgroundColor='#EFE9E2' } else { document.getElementById('femail').style.backgroundColor='#FF8C8C' }
}
function funFsubject(){
if(document.getElementById('fsubject').value.length< 6){ document.getElementById('fsubject').style.backgroundColor='#FF8C8C' } else { document.getElementById('fsubject').style.backgroundColor='EDF4F8' }
} 
function funFmessage(){
if(document.getElementById('fmessage').value.length< 33){ document.getElementById('fmessage').style.backgroundColor='#FF8C8C' } else { document.getElementById('fmessage').style.backgroundColor='#EFE9E2' }
} 


function photoZoomIn1(){
if(document.getElementById('gal1').width < 700){
document.getElementById('gal1').width = document.getElementById('gal1').width + 100 ;
document.getElementById('gal1').height = document.getElementById('gal1').height + 100;
}}
function photoZoomOut1(){
if(document.getElementById('gal1').width > 300){
document.getElementById('gal1').width = document.getElementById('gal1').width - 100 ;
document.getElementById('gal1').height = document.getElementById('gal1').height - 100;
}}
function photoZoom1(){
document.write("<img src='../img/zoom_in.gif' class='zoom' onClick='photoZoomIn1()'><img src='../img/space.gif' ><img src='../img/zoom_out.gif' class='zoom' onClick='photoZoomOut1()'>");
}

function photoZoomIn2(){
if(document.getElementById('gal2').width < 700){
document.getElementById('gal2').width = document.getElementById('gal2').width + 100 ;
document.getElementById('gal2').height = document.getElementById('gal2').height + 100;
}}
function photoZoomOut2(){
if(document.getElementById('gal2').width > 300){
document.getElementById('gal2').width = document.getElementById('gal2').width - 100 ;
document.getElementById('gal2').height = document.getElementById('gal2').height - 100;
}}
function photoZoom2(){
document.write("<img src='../img/zoom_in.gif' class='zoom' onClick='photoZoomIn2()'><img src='../img/space.gif' ><img src='../img/zoom_out.gif' class='zoom' onClick='photoZoomOut2()'>");
}

function photoZoomIn3(){
if(document.getElementById('gal3').width < 700){
document.getElementById('gal3').width = document.getElementById('gal3').width + 100 ;
document.getElementById('gal3').height = document.getElementById('gal3').height + 100;
}}
function photoZoomOut3(){
if(document.getElementById('gal3').width > 300){
document.getElementById('gal3').width = document.getElementById('gal3').width - 100 ;
document.getElementById('gal3').height = document.getElementById('gal3').height - 100;
}}
function photoZoom3(){
document.write("<img src='../img/zoom_in.gif' class='zoom' onClick='photoZoomIn3()'><img src='../img/space.gif' ><img src='../img/zoom_out.gif' class='zoom' onClick='photoZoomOut3()'>");
}
