function logo() {
	with(document) {
		document.write('<a href="index.html" title="&#1506&#1502&#1493&#1491 &#1492&#1489&#1497&#1514"><img src="images/menu_top_2.jpg" width="90" height="90" border="0" alt="&#1495&#1493&#1493&#1514 &#1492&#1499&#1513&#1512&#1492 &#1488&#1511&#1493&#1500&#1493&#1490&#1497&#1514 &nbsp; &#1504&#1497&#1512 - &#1502&#1513&#1492"></a><br><br>');
	}
}

function blend() {
	with(document) {
		//document.write('<meta http-equiv="Page-Enter" content="blendTrans(Duration=0.6)">');
		//document.write('<meta http-equiv="Page-Exit" content="blendTrans(Duration=0.6)">');
	}
}

function title() {
	with(document) {
		document.write('&#1488&#1491&#1502&#1488&#1502&#1488 - &#1495&#1493&#1493&#1514 &#1492&#1499&#1513&#1512&#1492 &#1488&#1511&#1493&#1500&#1493&#1490&#1497&#1514 &nbsp; &#1504&#1497&#1512 - &#1502&#1513&#1492');	
	}
}

function openWin(URL) {
	openWin0(URL, 380, 410, false, false);
}

function popupEcologyInvtn() {
	var newWindow = new PopUpWindow( '' );
	newWindow.setWidth( 376 );
    newWindow.setHeight( 520 );
    newWindow.setScrollbars( false );
    newWindow.setResizable( false );
	newWindow.setResizable( false );
	var w = 640;
    var h = 480;
    var l = (screen.width - w) / 2;
    var t = (screen.height - h) / 2;
    
	
    newWindow.setTop( t );
    newWindow.setLeft( l );  
	newWindow.open();
	newWindow.winHandle.document.open(  );  
	newWindow.winHandle.document.write( 
	'<html><head><link rel="stylesheet" href="adamom.css" type="text/css"><meta http-equiv=Content-Type content="text/html; charset=ISO8859-8">'+
	'<title>&#1492&#1499&#1493&#1512&#1506&#1514&#1492 &#1497&#1504&#1490&#1489 &#1497&#1490&#1493&#1500&#1493&#1511&#1488&#1492 &#1514&#1497&#1489&#1500 &#1492&#1504&#1502&#1494&#1492</title>' +
	'<head><meta http-equiv=Content-Type content="text/html; charset=ISO8859-8"></head>' +
	'<body topmargin=0 leftmargin=0 marginwidth=0 marginheight=0 style="background-color: #9BCC99">' +
	'<img src="images/EcologyInvtn1.jpg" width="376" height="500" border="0" alt="&#1492;&#1494;&#1502;&#1504;&#1492; &#1500;&#1489;&#1497;&#1514; &#1492;&#1488;&#1511;&#1493;&#1500;&#1493;&#1490;&#1497; &#1489;&#1490;&#1504;&#1497; &#1492;&#1514;&#1506;&#1512;&#1493;&#1499;&#1492;">' +
	'<br>&nbsp;&nbsp;<a href="javascript: print()" class="index">&#1492&#1491&#1508&#1505</a>&nbsp;&nbsp;' + 
	'<a href="javascript: window.close()" class="index">&#1505&#1490&#1493&#1512</a></body></html>'
	);  
	newWindow.winHandle.document.close( );
}

function popupMap() {
	var newWindow = new PopUpWindow( '' );
	newWindow.setWidth( 540 );
    newWindow.setHeight( 355 );
    newWindow.setScrollbars( false );
    newWindow.setResizable( false );
	newWindow.setResizable( false );
	var w = 640;
    var h = 480;
    var l = (screen.width - w) / 2;
    var t = (screen.height - h) / 2;
    
	
    newWindow.setTop( t );
    newWindow.setLeft( l );  
	newWindow.open();
	newWindow.winHandle.document.open(  );  
	newWindow.winHandle.document.write( 
	'<html><head><link rel="stylesheet" href="adamom.css" type="text/css">'+
	'<title>&#1502&#1508&#1492 &#1500&#1504&#1497&#1512 &#1502&#1513&#1492</title>' +
	'<head><meta http-equiv=Content-Type content="text/html; charset=ISO8859-8"></head>' +
	'<body topmargin=0 leftmargin=0 marginwidth=0 marginheight=0 style="background-color: #9BCC99">' +
	'<img src="images/map_to_nir_moshe.jpg" width="540" height="338" border="0" alt="&#1502&#1508&#1492 &#1500&#1504&#1497&#1512 &#1502&#1513&#1492">' +
	'<br>&nbsp;&nbsp;<a href="javascript: print()" class="index">&#1492&#1491&#1508&#1505</a>&nbsp;&nbsp;' + 
	'<a href="javascript: window.close()" class="index">&#1505&#1490&#1493&#1512</a></body></html>'
	);  
	newWindow.winHandle.document.close( );
}

function openForumWindow(URL) {
	var newWindow = new PopUpWindow( URL );
	newWindow.setWidth( 800 );
    newWindow.setHeight( 600 );
    newWindow.setScrollbars( 'yes' );
    newWindow.setResizable( 'yes' );
    newWindow.setStatus( true );

	var w = 640;
    var h = 480;
    var l = (screen.width - w) / 2;
    var t = (screen.height - h) / 2;
    
	newWindow.setToolbar( true );
//    newWindow.setTop( t );
//  newWindow.setLeft( l );  
    newWindow.open();
}

function openWin0(URL, width, height, scrollbars, resizable) {
	var newWindow = new PopUpWindow( URL );
	newWindow.setWidth( width );
    newWindow.setHeight( height );
    newWindow.setScrollbars( scrollbars );
    newWindow.setResizable( resizable );
	newWindow.setResizable( resizable );
    newWindow.setStatus( true );

	var w = 640;
    var h = 480;
    var l = (screen.width - w) / 2;
    var t = (screen.height - h) / 2;
   
    newWindow.setTop( t );
    newWindow.setLeft( l );  
    newWindow.open();
	return newWindow;
}



  function getCookie(name) {
    name += "="; // append '=' to name string
    var i = 0; // index of first name=value pair
    while (i < document.cookie.length) {
      var offset = i + name.length; // end of section to compare with name string
      if (document.cookie.substring(i, offset) == name) { // if string matches
        var endstr = document.cookie.indexOf(";", offset); // locate end of name=value pair
        if (endstr == -1) endstr = document.cookie.length;
        return unescape(document.cookie.substring(offset, endstr)); // return cookie value section
      }
      i = document.cookie.indexOf(" ", i) + 1; // move i to next name=value pair
      if (i == 0) break; // no more values in cookie string
    }
    return null; // cookie not found
  }
 
  function blockPopup() {
    var today = new Date();
    var expiry = new Date(today.getTime() + 7 * 24 * 60 * 60 * 1000);
	document.cookie = "blockPopup=true; expires=" + expiry.toGMTString();
  }

  function header(text) {
	with (document) {
		document.write('<img src="images/sunflower.gif" width="20" height="20" border="0" alt="">&nbsp;<span lang=HE dir=RTL class=title>'+text+'</span>');
		document.write('<br><table align=center width=500 cellpadding=0 cellspacing=0><tr><td><img src="images/tdbg.gif" width="525 height="1" border="0" alt=""></td></tr></table>');
		}
  }

  function showBigPic (image, title, width, height) {
	  previewWin = window.open ('', 'ThumbnailWindow', 'screenX=1, screenY=1,resizable=no,toolbar=no,scrollbars=no,width=380,height=300');
	  html = "<HTML><HEAD><SCRIPT LANGUAGE=JavaScript>window.resizeTo(600,440)</SCRIPT><TITLE>"+title+"</TITLE><link rel='stylesheet' href='adamom.css' type='text/css'></HEAD><BODY><center>"+
		     "<TABLE WIDTH=570 BORDER=0 CELLSPACING=0 CELLPADDING=0 dir=rtl BGCOLOR=#FFFFFF><TR>" +
			 "<TD WIDTH=112 VALIGN=TOP>" +
				 "<table BORDER=0 WIDTH=112 HEIGHT=350 CELLSPACING=0 CELLPADDING=0 dir=rtl BGCOLOR=#FFFFFF>" +
				 "<TR>" +
				 "<TD COLSPAN=3 ALIGN=right VALIGN=top id=Cap CLASS=text13 HEIGHT=270>"+title+"</TD>" +
				 "</TR>" +
				 "<TR>" +
				 "<TD VALIGN=bottom ALIGN=left WIDTH=92><a href='JavaScript: window.close()' CLASS=text12>&#1505&#1490&#1493&#1512 &#1495&#1500&#1493&#1503</A> </TD>" +
				 "<TD ><IMG SRC='images/whitespace.gif' WIDTH=6 HEIGHT=1></TD>" +			 
				 "<TD VALIGN=bottom ALIGN=left WIDTH=20><a href='JavaScript: window.close()'><IMG SRC='images/close_w.gif' ALT='&#1505&#1490&#1493&#1512 &#1495&#1500&#1493&#1503' WIDTH=20 HEIGHT=20 BORDER=0 ALIGN=middle></A>&nbsp;&nbsp;</TD>" +
				 "</TR>" +
				 "</TABLE>" +
		     "</td>"+
		     "<td>" +
		     "<TD WIDTH=6><IMG SRC='images/whitespace.gif' WIDTH=6 HEIGHT=350></TD>" +
		     "<TD WIDTH=2 BGCOLOR=#999999><IMG SRC='images/whitespace.gif.gif' WIDTH=1 HEIGHT=1></TD>"+
		     "<TD WIDTH=450 ALIGN=LEFT VALIGN=top><img src='"+image+"' width=450 height=350 border=0  alt='"+title+"' width=350 height=300><!--IMG SRC='/PicServer/02202003/254456/y_w.jpg' WIDTH=450 HEIGHT=350 BORDER=0--></TD>" +
	         "</td>" +
		     "</TR></TABLE></center></BODY></HTML>";
	  previewWin.document.write(html);	  
	  previewWin.focus();
  }