<!--
//FAQ - Show/hide question
function display(Ans)
{
var change ="document.all."+Ans+".style.display";
if(eval(change+"== 'none'")) {eval(change +"= 'inline'");}
else if(eval(change+"== 'inline'")){eval(change+"= 'none'") ;}
}


//Add to favorites
function addfav()
   {
   if (document.all)
      {
      window.external.AddFavorite
      (location.href, document.title)
      }
   }


<!-- Begin
function fullScreen(theURL) {
//window.open(theURL, '', 'fullscreen=yes, scrollbars=auto');
window.open(theURL,null, "status=yes,toolbar=no,menubar=no,location=no");
}
//  End -->



//"Enter" Click to Fire Event
    function clickButton(strID) {
		var pButton = document.getElementById(strID);
		if (event && event.which) {
			if (event.which == 13) {
				pButton.click();
				return false;
			}
		} else if (window.event && window.event.keyCode) {
			if (event.keyCode == 13) {
				event.returnValue = false;
				event.cancel = true;
				pButton.click();
				return false;
			}
		}
    }
    
    
    //open new window
    function NewWindow(mypage,myname,w,h,scroll){
  var winl = (screen.width-w)/2;
  var wint = (screen.height-h)/2;
  var settings  ='height='+h+',';
      settings +='width='+w+',';
      settings +='top='+wint+',';
      settings +='left='+winl+',';
      settings +='scrollbars='+scroll+',';
      settings +='resizable=yes';
  win=window.open(mypage,myname,settings);
  if(parseInt(navigator.appVersion) >= 4){win.window.focus();}
}




function SubmitSearchInput() 
{
top.location.replace("http://www.s-online.co.il");
var theURL = 'SearchResults.aspx?strSearch=' + document.getElementById("txtSearch").value;


window.alert(theURL);




}


//function getHref()
//{
//    return document.location.href;
//}



//  End -->


//-->