<!--
function bookmarksite(title, uri){
  if(window.sidebar) window.sidebar.addPanel(title, uri, "");
  else if(document.all) window.external.AddFavorite(uri, title);}

function checkselected(chk)
{
	if (chk.keyword.value.length < 3)
	{
			alert("חובה להכניס לפחות 3 אותיות");
			chk.keyword.focus();
			return (false);
	}
	if (chk.where[1].checked)
	{
		if ((chk.searcinthis.options[chk.searcinthis.selectedIndex].value == "wanted") || (chk.searcinthis.options[chk.searcinthis.selectedIndex].value == "search"))
		{
			alert("לקטגוריה שנבחרה אין גלריה");
			return (false);
		}
	}
}

function popitup2(url){window.open('showimage.asp?id='+url+'','pic','width=644,height=520, left=0,top=0,screenX=0,screenY=0,outerwidth=654,outerheight=579,resizable=0,status=0,toolbar=0,scrollbars=0');}
function popitup3(url){newwindow=window.open(url,'detail','height=360,width=590,scrollbars=1');}

function showselected(ezer)
{
var checkbox_choices = 0;
for (counter = 0; counter < ezer.PrintMessages.length; counter++)
{
	if (ezer.PrintMessages[counter].checked)
	{ checkbox_choices = checkbox_choices + 1; }
}
	if (checkbox_choices == 0 )
	{
		alert("לא נבחרו שום מודעות");
		return (false);
	}
	else
		document.selected.submit()
}

function OpenDetails(id)
	{			
		MsgId=id;
		DetailsPage ="checkitem.asp?ID=" + MsgId;

		if(document.all("TxtDtls" + MsgId).src.toLowerCase().indexOf("images/open.gif") >= 0 )
		   {document.all("TxtDtls" + MsgId).src="../images/close.gif";}
		else
		   {document.all("TxtDtls" + MsgId).src="../images/open.gif";}			

		if(document.all("MsgDtls" + MsgId).innerHTML=="")
			{document.all("MsgDtls" + MsgId).innerHTML="<iframe ID='IFrame"+ MsgId +"'  src='"+ DetailsPage +"' width='100%' height='247' frameborder='0' scrolling='no'></iframe>";}
		else
			{document.all("MsgDtls" + MsgId).innerHTML="";}	
	}
-->