var urlLocation='http://softage.co.il';
var slidespeed=2000
//specify images
var slideimages=new Array("images/katalog/crop/year/24.jpg","images/katalog/crop/year/19.jpg","images/katalog/crop/year/34.jpg","images/katalog/album.jpg","images/katalog/blancet.jpg","images/katalog/25.jpg","images/katalog/crop/print/mzaim.jpg","images/katalog/tzyar.jpg","images/katalog/shirt.jpg","images/katalog/tic.JPG","images/katalog/1.jpg")

var newwindow=0 //open links in new window? 1=yes, 0=no
var imgSrc="";
var imageholder=new Array()
var ie=document.all
for (i=0;i<slideimages.length;i++){
imageholder[i]=new Image()
imageholder[i].src=slideimages[i]
}

function biltLogo(){

	document.write('<TR ><TD align=center bgColor=white valign="top"  height=100 ><FONT  color=#D60A6B >softage- גיל הרך צילום ומתנות בגני ילדים ובתי ספר -לימור סקיטל 0544258650, 039380513') ;
	document.write('&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; <A href="kesher.html" >צור קשר</A>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;|&nbsp;&nbsp;');
	document.write(' </FONT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <A href="who.html">מי אנחנו</A>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;|&nbsp;&nbsp;');
	document.write('<br/><IMG  src="images/site/newLogo.jpg"  width="880" >	</TD> </TR>');
}
function biltMarquee(){
	document.write('<TR><TD align=middle valign="top" colspan=6 bgcolor=white width="880"><a href="birthDay.html">');
	document.write('<MARQUEE  DIRECTION="left" WIDTH="840"  BEHAVIOR="SCROLL" TRUESPEED="TRUE" SCROLLAMOUNT="1" SCROLLDELAY="20" onmouseover="stop()" onmouseout="start()"onclick="document.location.href=&quot;birthDay.html&quot;" dir="ltr">');
	document.write('<TABLE cellSpacing=0 cellPadding=1 border=0 width="100%" ><tr>');
	document.write('<td valign=center><IMG height=70 style="cursor:hand;"  src="images/katalog/crop/כריות/perah.jpg" border=0 onclick="document.location.href=&quot;birthDay.html&quot;">	</td>');
	document.write('<td valign=center><IMG height=70 style="cursor:hand;"  src="images/katalog/crop/print/zelon_keshet2.jpg" border=0 onclick="document.location.href=&quot;birthDay.html&quot;">	</td>');
	document.write('<td valign=center><IMG height=70 style="cursor:hand;"  src="images/katalog/crop/קאפות/תמונת ציור.jpg" border=0 onclick="document.location.href=&quot;birthDay.html&quot;"></td>');
	document.write('<td valign=center><IMG height=70 style="cursor:hand;"  src="images/katalog/crop/תיקים וארנקים/18b.jpg" border=0 onclick="document.location.href=&quot;birthDay.html&quot;"></td>');
	document.write('<td valign=center><IMG height=70 style="cursor:hand;"  src="images/katalog/crop/כריות/10 (23).jpg" border=0 onclick="document.location.href=&quot;birthDay.html&quot;"></td>');
	document.write('<td valign=center><IMG height=70 style="cursor:hand;"  src="images/katalog/crop/print/pu_clock.jpg" border=0 onclick="document.location.href=&quot;birthDay.html&quot;"></td>');
	document.write('<td valign=center><IMG height=70 style="cursor:hand;"  src="images/katalog/crop/כריות/mzaim2.jpg" border=0 onclick="document.location.href=&quot;birthDay.html&quot;"></td>');
	document.write('<td valign=center><IMG height=70 style="cursor:hand;"  src="images/katalog/crop/מוצרי עץ/שלטים לחדר.jpg" border=0 onclick="document.location.href=&quot;birthDay.html&quot;"></td>');
	document.write('<td valign=center><IMG height=70 style="cursor:hand;"  src="images/katalog/crop/כריות/25.jpg" border=0 onclick="document.location.href=&quot;birthDay.html&quot;"></td>');
	document.write('<td valign=center><IMG height=70 style="cursor:hand;"  src="images/katalog/crop/כריות/כרית גדולה כוכבים.jpg" border=0 onclick="document.location.href=&quot;birthDay.html&quot;"></td>');
	document.write('<td valign=center><IMG height=70 style="cursor:hand;"  src="images/katalog/crop/דובים/22c.jpg" border=0 onclick="document.location.href=&quot;birthDay.html&quot;"></td>');
	document.write('<td valign=center><IMG height=70 style="cursor:hand;"  src="images/katalog/crop/פאזלים/pazel.jpg" border=0 onclick="document.location.href=&quot;birthDay.html&quot;"></td>');
	document.write('<td valign=center><IMG height=70 style="cursor:hand;"  src="images/katalog/crop/סינרים/sh.jpg" border=0 onclick="document.location.href=&quot;birthDay.html&quot;"></td>');
	document.write('<td valign=center><IMG height=70 style="cursor:hand;"  src="images/katalog/crop/שבת/3.jpg" border=0 onclick="document.location.href=&quot;birthDay.html&quot;"></td>');
	document.write('<td valign=center><IMG height=70 style="cursor:hand;"  src="images/katalog/crop/פאזלים/21.jpg" border=0 onclick="document.location.href=&quot;birthDay.html&quot;"></td>');
	document.write('<td valign=center><IMG height=70 style="cursor:hand;"  src="images/katalog/crop/מגבות ומוצרי אמבטיה/ma_m.jpg" border=0 onclick="document.location.href=&quot;birthDay.html&quot;"></td>');
	document.write('<td valign=center><IMG height=70 style="cursor:hand;"  src="images/katalog/crop/ספלים/cup.jpg" border=0 onclick="document.location.href=&quot;birthDay.html&quot;"></td>');
	document.write('</tr><tr>');
	document.write('<td align=center> <FONT  color=blue  >כרית מודפסת</td>');
	document.write('<td align=center> <FONT  color=blue  >צלונים לרכב </td>');
	document.write('<td align=center><FONT  color=blue  >תמונת ציור</td>');
	document.write('<td align=center><FONT  color=blue  >תיק ספר</td>');
	document.write('<td align=center><FONT  color=blue  >כירבולית+תיק</td>');
	document.write('<td align=center><FONT  color=blue  ><nobr>&nbsp;שעון מעוצב  </nobr></td>');
	document.write('<td align=center><FONT  color=blue  >סט מצעים</td>');
	document.write('<td align=center><FONT  color=blue  >שלט לחדר</td>');
	document.write('<td align=center><FONT  color=blue  >כרית פרוותית</td>');
	document.write('<td align=center><FONT  color=blue  >ציפית לכרית</td>');
	document.write('<td align=center><FONT  color=blue  >דובי פרוותי</td>');
	document.write('<td align=center><FONT  color=blue  >פאזל מעוצב</td>');
	document.write('<td align=center><FONT  color=blue  >בגד גוף תינוקות</td>');
	document.write('<td align=center><FONT  color=blue  >כיסוי לחלה</td>');
	document.write('<td align=center><FONT  color=blue  >פד לעכבר </td>');
	document.write('<td align=center><FONT  color=blue  >מגבות מודפסות </td>');
	document.write('<td align=center><FONT  color=blue  >ספל קרמיקה </td>');
	document.write('</tr></TABLE></MARQUEE></a></TD></TR>');
}

function colorMenu(objId)
{
	
	var temp = eval('document.all.td_'+objId);
	if(temp){
	temp.style.background ='#D60A6B';
	temp.setAttribute("onmouseout","#D60A6B");
	temp.setAttribute("onmouseover","#ffffff");
	}
}

function biltTopMenu(indexTd){
	document.write('<TR><TD bgColor=#D60A6B colspan="6" align=center width=100% >&nbsp;&nbsp;&nbsp;&nbsp;  <A href="kesher.html" ><FONT  color=white  >צור קשר</A> &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;|&nbsp;&nbsp;');
	document.write(' &nbsp;&nbsp;&nbsp;&nbsp;  <A href="homePage.htm" ><FONT  color=white  >דף הבית</A> &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;|&nbsp;&nbsp;');
	document.write(' </FONT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <A href="תמונות ספרי מחזור לבתי ספר.html"><FONT  color=white  >ספרי מחזור  לבתי ספר</A>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;|&nbsp;&nbsp;');
	document.write(' </FONT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <A href="who.html"><FONT  color=white  >מי אנחנו</A>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;|&nbsp;&nbsp;');
	document.write(' <A  href="kesher.html"><FONT  color=white >מעוניינים בצילום התקשרו 0544258650 , 039380513</A></TD></TR>');
	document.write('<TR  width=100% bgColor=white bgColor=#D60A6B >');
	//indexTd 1-6
	document.write('<TD align=center width=15%  id="td_1" onmouseout="javascript:this.style.background=&quot;white&quot;;" onmouseover="javascript:this.style.background =&quot;#D60A6B&quot;;"><A  href="חמסות מגנטים ושלטים.html">חמסות,מגנטים ושלטים</A></TD>');
	document.write('<TD  align=center  width=15%  id="td_2" onmouseout="javascript:this.style.background =&quot;white&quot;;" onmouseover="javascript:this.style.background =&quot;#D60A6B&quot;;"> <A  href="פאזלים ומשטחי עכבר.html" >פאזלים ומשטחי עכבר</A></TD>');
	 document.write('<TD align=center width=20%  id="td_3"  onmouseout="javascript:this.style.background =&quot;white&quot;;" onmouseover="javascript:this.style.background =&quot;#D60A6B&quot;;"> <A  href="מצעים כריות ושמיכות.html" >כריות,שמיכות ומצעים</A></TD>');
	document.write('<TD   align=center  id="td_4" onmouseout="javascript:this.style.background =&quot;white&quot;;" onmouseover="javascript:this.style.background =&quot;#D60A6B&quot;;"> <A  href=סינרים.html >סינרים, חולצות וכובעים</A></TD>');
	document.write('<TD align=center width=15%   id="td_5" onmouseout="javascript:this.style.background =&quot;white&quot;;" onmouseover="javascript:this.style.background =&quot;#D60A6B&quot;;"><A  href=ספלים.html>ספלים, תחתיות ותרמוסים</A></TD>');
	document.write('<TD align=center width=15%   id="td_6" onmouseout="javascript:this.style.background =&quot;white&quot;;" onmouseover="javascript:this.style.background =&quot;#D60A6B&quot;;"> <A href="מגבות ומוצרי אמבטיה.html">מגבות ומוצרי אמבטיה</A></TD></TR>');
	document.write('<TR  width=100% bgColor=white bgColor=#D60A6B >');
	//indexTd 7-12
	document.write('<TD align=center width=15%  id="td_7" onmouseout="javascript:this.style.background =&quot;white&quot;;" onmouseover="javascript:this.style.background =&quot;#D60A6B&quot;;"> <A  href="מוצרים לרכב.html" >מוצרים לרכב</A></TD>');
	document.write('<TD  align=center  width=15%   id="td_8" onmouseout="javascript:this.style.background =&quot;white&quot;;" onmouseover="javascript:this.style.background =&quot;#D60A6B&quot;;"> <A  href="מחזיק מפתחות.html" >מחזיקי מפתחות</A></TD>');
	//document.write('<TD  align=center  width=15%   id="td_8" onmouseout="javascript:this.style.background =&quot;white&quot;;" onmouseover="javascript:this.style.background =&quot;#D60A6B&quot;;"> מחזיקי מפתחות</TD>');
	document.write('<TD align=center width=15%   id="td_9" onmouseout="javascript:this.style.background =&quot;white&quot;;" onmouseover="javascript:this.style.background =&quot;#D60A6B&quot;;"> <A  href="מוצרי עץ.html">מוצרי עץ</A></TD>');
	document.write('<TD   align=center  id="td_10" onmouseout="javascript:this.style.background =&quot;white&quot;;" onmouseover="javascript:this.style.background =&quot;#D60A6B&quot;;"> <A  href="שעונים ומראות.html">שעונים ומראות</A></TD>');
	document.write('<TD align=center width=15%  id="td_11" onmouseout="javascript:this.style.background =&quot;white&quot;;" onmouseover="javascript:this.style.background =&quot;#D60A6B&quot;;"><A  href=דובים.html>דובים</A></TD>');
	document.write('<TD align=center width=15%   id="td_12" onmouseout="javascript:this.style.background =&quot;white&quot;;" onmouseover="javascript:this.style.background =&quot;#D60A6B&quot;;"> <A href="תיקים וארנקים.html"> תיקים וארנקים</A></TD></TR>');
	document.write('<TR  width=100% bgColor=white bgColor=#D60A6B >');
	//indexTd 13-18
	document.write('<TD align=center width=10%  id="td_13" onmouseout="javascript:this.style.background =&quot;white&quot;;" onmouseover="javascript:this.style.background =&quot;#D60A6B&quot;;"> <A  href=משחקים.html >משחקים</A></TD>');
	document.write('<TD   align=center  id="td_14" onmouseout="javascript:this.style.background =&quot;white&quot;;" onmouseover="javascript:this.style.background =&quot;#D60A6B&quot;;"> <A  href="מתנות לבתי ספר.html" >מתנות לבית הספר</A></TD>');
	document.write('<TD align=center width=15%   id="td_15" onmouseout="javascript:this.style.background =&quot;white&quot;;" onmouseover="javascript:this.style.background =&quot;#D60A6B&quot;;"> <A  href=שבת.html>שבת ויו"ט</A></TD>');
	document.write('<TD  align=center  width=15%  id="td_16" onmouseout="javascript:this.style.background =&quot;white&quot;;" onmouseover="javascript:this.style.background =&quot;#D60A6B&quot;;"> <A  href=קאפה.html >תמונות מעוצבות,<br/>תמונה על קאפה</A></TD>');
	document.write('<TD align=center width=15%   id="td_17" onmouseout="javascript:this.style.background =&quot;white&quot;;" onmouseover="javascript:this.style.background =&quot;#D60A6B&quot;;"><A  href="אלבום לסוף שנה.htm">אלבומים וספרים</A></TD>');
	document.write('<TD align=center width=15%   id="td_18" onmouseout="javascript:this.style.background =&quot;white&quot;;" onmouseover="javascript:this.style.background =&quot;#D60A6B&quot;;"> <A href=מבצעים.htm>מבצעים </A></TD></TR>');
	colorMenu(indexTd);
}

function biltRemote(indexTd){
	 document.write('<TABLE  cellSpacing=0 cellPadding=2 width="100%" border=1  bordercolor="#D60A6B" >');
	document.write('<TR><TD id="remoteTd_1" onmouseout="javascript:this.style.background =&quot;&quot;;" onmouseover="javascript:this.style.background =&quot;#D60A6B&quot;;"> <A href="year.html" >מתנות לחגי תשרי </A> </TD> </TR>');
	document.write('<TR><TD id="remoteTd_2" onmouseout="javascript:this.style.background =&quot;&quot;;" onmouseover="javascript:this.style.background =&quot;#D60A6B&quot;;"><A href="birthDay.html" >מתנות  לימי הולדת </A></TD> </TR>');
	document.write('<TR><TD id="remoteTd_3" onmouseout="javascript:this.style.background =&quot;&quot;;" onmouseover="javascript:this.style.background =&quot;#D60A6B&quot;;"><A href="hanuca.html" >מתנות לחנוכה</A></TD> </TR>');
	document.write('<TR><TD id="remoteTd_4" onmouseout="javascript:this.style.background =&quot;&quot;;" onmouseover="javascript:this.style.background =&quot;#D60A6B&quot;;"> <A href="מתנות ליום המשפחה.html" >מתנות ליום המשפחה</A></TD> </TR>');
	document.write('<TR><TD id="remoteTd_5" onmouseout="javascript:this.style.background =&quot;&quot;;" onmouseover="javascript:this.style.background =&quot;#D60A6B&quot;;"> <A href="purim.html" >מתנות לפורים </A></TD> </TR>');
	document.write('<TR><TD id="remoteTd_6" onmouseout="javascript:this.style.background =&quot;&quot;;" onmouseover="javascript:this.style.background =&quot;#D60A6B&quot;;"><A  href="passover.html" >מתנות לפסח </A></TD> </TR>');
	document.write('<TR><TD id="remoteTd_7" onmouseout="javascript:this.style.background =&quot;&quot;;" onmouseover="javascript:this.style.background =&quot;#D60A6B&quot;;"><A href="aztmaoot.html" >ליום העצמאות ושבועות</A></TD> </TR>');
	document.write('<TR><TD id="remoteTd_22" onmouseout="javascript:this.style.background =&quot;&quot;;" onmouseover="javascript:this.style.background =&quot;#D60A6B&quot;;"><A href="birthDay.html" > מתנות לסוף שנה</A></TD> </TR>');
	document.write('<TR><TD id="remoteTd_8" onmouseout="javascript:this.style.background =&quot;&quot;;" onmouseover="javascript:this.style.background =&quot;#D60A6B&quot;;"><NOBR><A href="endYear.html" >תמונות מחזור ודפי קשר</A></NOBR></TD> </TR>');
	document.write('<TR><TD id="remoteTd_9" onmouseout="javascript:this.style.background =&quot;&quot;;" onmouseover="javascript:this.style.background =&quot;#D60A6B&quot;;"><A href="אלבום לסוף שנה.htm">אלבום לסוף שנה </A></TD> </TR>');
	document.write('<TR><TD id="remoteTd_10" onmouseout="javascript:this.style.background =&quot;&quot;;" onmouseover="javascript:this.style.background =&quot;#D60A6B&quot;;"><A href="חוברות עבודה.html">חוברות עבודה </A></TD> </TR>');
	document.write('<TR><TD> חדשות האתר:<div style="width:100%;" ><MARQUEE  DIRECTION="UP"  WIDTH="100%" HEIGHT="90" BEHAVIOR="SCROLL" TRUESPEED="TRUE" SCROLLAMOUNT="1" SCROLLDELAY="50" onMouseOver="stop()" onMouseOut="start()">');
	document.write('<a href="אלבום לסוף שנה.htm"><b>מבצע אלבום לסוף שנה</b> <b>עכשיו במבצע </a></MARQUEE>	</div></TD>	</TR>');
	document.write('<TR><TD vAlign=top align=center ><IMG   style="FILTER: blendTrans(duration=3)" height=160 src="images/katalog/CROP/holiday/familyDay/1.jpg"  width=130 border=0 name=slide><br/><br/>');
	document.write('<h3 style=font-family:Arial (hebrew)>softage - גיל הרך:<BR>מתנות לילדים<BR>מתנות ייחודיות <BR>משולבי תמונה<BR>צילום בגני ילדים<BR>ובתי ספר<BR>שיווק מוצרי עץ <BR>וחיתוך לייזר<BR>הדפסות סובלימציה<BR>וטרנספר<BR>ספרי מחזור</B></h3></TD></TR>');
	document.write('<TR><TD ><a href="javascript:addbookmark()">הוסף למועדפים</a></TD></TR>');
	document.write('<TR><TD ><A href="javascript:this.style.behavior=&quot;url(#default#homepage)&quot;;	this.setHomePage(&quot;http://www.softage.co.il&quot;);">קבע כדף הבית</A></TD>	</TR>');
	document.write('</TABLE>');
	colorMenuRemote(indexTd);
}
function colorMenuRemote(ReobjId)
{
	//2 and 22 is the same
	var Rtemp = eval('document.all.remoteTd_'+ReobjId);
	if(Rtemp){
	Rtemp.style.background ='#D60A6B';
	Rtemp.setAttribute("onmouseout","#D60A6B");
	Rtemp.setAttribute("onmouseover","#ffffff");
	}
	if(ReobjId=='2'){
		document.all.remoteTd_22.style.background ='#D60A6B';
		document.all.remoteTd_22.setAttribute("onmouseout","#D60A6B");
		document.all.remoteTd_22.setAttribute("onmouseover","#ffffff");
		}
	else if(ReobjId=='22'){
		document.all.remoteTd_2.style.background ='#D60A6B';
		document.all.remoteTd_2.setAttribute("onmouseout","#D60A6B");
		document.all.remoteTd_2.setAttribute("onmouseover","#ffffff");
	}
}

function biltButtom(){
	 document.write('<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0  bgColor=white><TBODY>	<B>');
	document.write('<TR vAlign=center align=left bgColor=#D60A6B ><TD ><CENTER>');
	document.write('<A style="color:#ffffff" href="mailto:skill@zahav.net.il">Email:skill@zahav.net.il</A> </TD>');
	document.write('<TD ><FONT face="Arial" color=#fffffff  size=3>	לימור סקיטל </TD>');
	document.write('<TD ><FONT face="Arial" color=#fffffff  size=3>054-4258650 </TD>');
	document.write('<TD ><FONT face="Arial" color=#fffffff  size=3>03-9380513 </TD>');
	document.write('<TD ><FONT face="Arial" color=#fffffff  size=3>שבטי ישראל 13 ראש-העין &nbsp;&nbsp;&nbsp;&nbsp;</TD></TR>');
	document.write('<TR vAlign=center align=left bgColor=#D60A6B><TD  colspan=5><FONT face="Arial, Helvetica, sans-serif" color=#fffffff size=1><FONT color=#80c342>.....</FONT>Copyright © 2009 Softage limor skital All Rights Reserved &nbsp;&nbsp;</FONT></TD></TR>');
	document.write('</TBODY></TABLE>');
	          		
}

function goTo(obj){

	if(obj) return;
	else
	document.location.href="index.htm";
}

function EnlargPic(url) {
 window.open('EnlargPic.asp?filename=http://softage.co.il/'+url,'PicWin','scrollbars=yes,location=no,status=no,height=400,width=400')
}
function gotoshow(){
if (newwindow)
window.open(slidelinks[whichlink])
else
window.location=slidelinks[whichlink]
}


function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v3.0
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}




var popUpWin = '';
var describeIt = '';
var picture = '';
var describeIt='';
function previewImg(obj)
{
	
	describeIt='www.softage.co.il';
	picture=obj.src;
	var tall = obj.height + 350 // adjust for spacing to border above and below picture
	var side = obj.width + 400 // adjust for spacing to border on sides of picture
	
	if (popUpWin && !popUpWin.closed) popUpWin.close();
		popUpWin = eval("window.open('doc.html','newWin','toolbar=0,scrollbars=no,statusbar=no,menubar=no,resizable=1,height="+tall+",width="+side+"')");
	if (!popUpWin.opener) popUpWin.opener = self;
	update()
}
function previewImgText(obj,text)
{
	if (!text)
		text=obj.value;
	
	if(text)
	describeIt=text;
	else describeIt='www.softage.co.il';
	picture=obj.src;
	var tall = obj.height + 500 // adjust for spacing to border above and below picture
	var side = obj.width + 700 // adjust for spacing to border on sides of picture
	
	if (popUpWin && !popUpWin.closed) popUpWin.close();
		popUpWin = eval("window.open('doc.html','newWin','toolbar=0,scrollbars=no,statusbar=no,menubar=no,resizable=1,height="+tall+",width="+side+"')");
	if (!popUpWin.opener) popUpWin.opener = self;
	update()
}


// **Modify this function to contain your content for the popup window.
function update() {
popUpWin.document.open();
// **content for the popup window is defined here.
popUpWin.document.write("<html lang=he ><head><title>softage view pic</title></head>");
popUpWin.document.write("<body bgColor=#005CC3 dir=rtl><center><strong><font size=+1 color=#ffffff>" + describeIt + "</strong><p>");
popUpWin.document.write("<img src=" + picture + "><br>");
popUpWin.document.write("<font size=-1 color=#ffffff>limor skital 0544258650&copy;</font><p>");
popUpWin.document.write("<a href='#' onClick='self.close()'  >");
popUpWin.document.write("close</a></center></body></html>");
popUpWin.document.close();
}


function showHide(id)
	{
		
		var oDiv = document.getElementById(id);
		oDiv.style.visibility=(oDiv.style.visibility=="visible"?"hidden":"visible");
		return;
		//alert(oDiv.style.visibility);
		if (oDiv)
		{
			if (oDiv.style.visibility  == "hidden")
			{
				oDiv.style.position  = "inline";
				oDiv.style.visibility  = "visible";
				
			}
			else
			{
				oDiv.style.visibility  = "hidden";
				oDiv.style.position  = "absolute";
			}
		}
	}
	
	var bookmarkurl="http://www.softage.co.il" 
	var bookmarktitle="softage-limor skital0544258650"
	function addbookmark(){
	if (document.all)
	window.external.AddFavorite(bookmarkurl,bookmarktitle)
	}

var results=''
var previouskey=''
var re=/(\/|\*|\+|-)/
var re2=/(\/|\*|\+|-){2}$/
var re3=/.+(\/|\*|\+|-).+/
var re4=/\d|\./
var re5=/^[^\/\*\+].+\d$/
var re6=/\./

function calculate(){
if (event.srcElement.tagName=="TD"){
if (event.srcElement.innerText.match(re4)&&previouskey=="=")
results=''
if (result.innerText.match(re3)&&event.srcElement.innerText.match(re)){
if (!results.match(re5)){
result.innerText="Error!"
return
}
results=eval(results)
if (results.toString().length>=12&&results.toString().match(re6))
results=results.toString().substring(0,12)
result.innerText=results
}

results+=event.srcElement.innerText
if (results.match(re2))
results=results.substring(0,results.length-2)+results.charAt(results.length-1)

result.innerText=results
}
}

function calculateresult(){
if (!results.match(re5)){
result.innerText="Error!"
return
}
results=eval(results)
if (results.toString().length>=12&&results.toString().match(re6))
results=results.toString().substring(0,12)
result.innerText=results
}


function pn(){
if (result.innerText.charAt(0)!='-')
result.innerText=results='-'+result.innerText
else if (result.innerText.charAt(0)=='-')
result.innerText=results=result.innerText*(-1)
}




var NS4 = (document.layers); // Which browser?
var IE4 = (document.all);

var win = window; // window to search.
var n = 0;

function findInPage(str) {

var txt, i, found;

if (str == "")
return false;

// Find next occurance of the given string on the page, wrap around to the
// start of the page if necessary.

if (NS4) {

// Look for match starting at the current point. If not found, rewind
// back to the first match.

if (!win.find(str))
while(win.find(str, false, true))
n++;
else
n++;

// If not found in either direction, give message.

if (n == 0)
alert("Not found.");
}

if (IE4) {
txt = win.document.body.createTextRange();

// Find the nth match from the top of the page.

for (i = 0; i <= n && (found = txt.findText(str)) != false; i++) {
txt.moveStart("character", 1);
txt.moveEnd("textedit");
}

// If found, mark it and scroll it into view.

if (found) {
txt.moveStart("character", -1);
txt.findText(str);
txt.select();
txt.scrollIntoView();
n++;
}

// Otherwise, start over at the top of the page and find first match.

else {
if (n > 0) {
n = 0;
findInPage(str);
}

// Not found anywhere, give message.

else
alert("Not found.");
}
}

return false;
}


function sortlist() {
var lb = document.getElementById('liste1');
arrTexts = new Array();

for(i=0; i<lb.length; i++)  {
  arrTexts[i] = lb.options[i].text+','+lb.options[i].value;
}

arrTexts.sort();

for(i=0; i<lb.length; i++)  {
  lb.options[i].text = arrTexts[i].split(',')[0];
lb.options[i].value = arrTexts[i].split(',')[1];
}
}
	
