function ChangeBar1(flag)
	{
	if(flag == 1)
		{
		STR = "<table align='right' cellpadding='0' cellspacing='0' border='0' dir='rtl' style='color:#FE860C;font-size:13px;'>" +
				"<tr><td height='8'></td></tr>" +
				"<tr>" +
					"<td align='right'>" +
						"<a href='http://www.tapuz.co.il/tapuznews/' style='color:black;font-size:13px;text-decoration:none;'><strong>חדשות</strong></a>&nbsp;|&nbsp;" +
					"</td>" +
					"<td align='right'>" +
						"<a href='http://www.tapuz.co.il/tapuzsport' style='color:black;font-size:13px;text-decoration:none;'><strong>ספורט</strong></a>&nbsp;|&nbsp;" +
					"</td>" +
					"<td align='right'>" +
						"<a href='http://www.tapuz.co.il/softwares/' style='color:black;font-size:13px;text-decoration:none;'><strong>תוכנות</strong></a>&nbsp;|&nbsp;" +
					"</td>" +
					"<td align='right'>" +
						"<a href='http://www.tapuz.co.il/food/' style='color:black;font-size:13px;text-decoration:none;'><strong>אוכל</strong></a>&nbsp;|&nbsp;" +
					"</td>" +
					"<td align='right'>" +
						"<a href='http://www.tapuz.co.il/birth/' style='color:black;font-size:13px;text-decoration:none;'><strong>הריון ולידה</strong></a>&nbsp;|&nbsp;" +
					"</td>" +
					"<td align='right'>" +
						"<a href='http://www.tapuz.co.il/trip/' style='color:black;font-size:13px;text-decoration:none;'><strong>צימרים</strong></a>&nbsp;|&nbsp;" +
					"</td>" +
					"<td align='right'>" +
						"<a href='http://www.mlog.co.il/' style='color:black;font-size:12px;text-decoration:none;'><strong>MLog</strong></a>&nbsp;|&nbsp;" +
					"</td>" +
					"<td align='right'>" +
						"<a href='http://www.ibooks.co.il/' style='color:black;font-size:12px;text-decoration:none;'><strong>ספרים</strong></a>&nbsp;|&nbsp;" +
					"</td>" +					
					"<td align='right'>" +
						"<a href='http://www.tapuz.co.il/pCards/myCard/login.asp' style='color:black;font-size:13px;text-decoration:none;'><strong>עולמות</strong></a>&nbsp;|&nbsp;" +
					"</td>" +
					"<td align='right'>" +
						"<a href='http://www.tapuz.co.il/albums/' style='color:black;font-size:13px;text-decoration:none;'><strong>אלבומים</strong> <img src='http://www.tapuz.co.il/homepageimages/new.gif' border='0'></a>&nbsp;|&nbsp;" +
					"</td>" +					
					"<td align='right'>" +
						"<a href='http://www.tapuz.co.il/gameon/' style='color:#ce0d46;font-size:12px;text-decoration:none;'><strong>GameOn</strong></a>&nbsp;|&nbsp;" +
					"</td>" +					
					"<td align='right'>" +
						"<font onclick='ChangeBar1(0)' style='cursor:pointer;font-size:14px;'><strong><font style='color:#FE860C;'>>></font></strong></strong></font>" +
					"</td>" +
				"</tr>" +
				"</table>"
		}
	else
		{
		STR = "<table align='right' cellpadding='0' cellspacing='0' border='0' dir='rtl' style='color:#FE860C;font-size:13px;'>" +
				"<tr><td height='8'></td></tr>" +
				"<tr>" +
					"<td align='right'>" +
						"<a href='http://www.tapuz.co.il/forums/apps/spCount.asp?spid=641' style='color:black;font-size:13px;text-decoration:none;'><strong>קניות</strong></a>&nbsp;|&nbsp;" +
					"</td>" +
					"<!--td align='right'>" +
						"<a href='http://www.ib-online.co.il/ExtRefMng_ReferenceIn/1,2578,,00.html?ref_id=10' style='color:black;font-size:13px;text-decoration:none;'><strong>כלכלה</strong></a>&nbsp;|&nbsp;" +
					"</td-->" +
					"<td align='right'>" +
					//	"<!--a href='http://www.tv2day.co.il/v5/default.asp?Portal=Tapuz' style='color:black;font-size:13px;text-decoration:none;'><strong>לוחTV</strong></a>&nbsp;|&nbsp;-->" +
						"<a href='http://www.tapuz.co.il/bike/' style='color:black;font-size:13px;text-decoration:none;'><strong>אופניים</strong></a>&nbsp;|&nbsp;" +
					//	"<a href='http://ring.tapuz.co.il' style='color:black;font-size:13px;text-decoration:none;'><strong>רינגטונים</strong></a>&nbsp;|&nbsp;" +
					"</td>" +					
					"<td align='right'>" +
						"<a href='http://www.tapuz.co.il/fun/' style='color:black;font-size:13px;text-decoration:none;'><strong>בידור</strong></a>&nbsp;|&nbsp;" +
					"</td>" +
					"<td align='right'>" +
						"<a href='http://www.tapuz.co.il/forums/apps/spCount.asp?spid=599' style='color:black;font-size:13px;text-decoration:none;'><strong>תיירות</strong></a>&nbsp;|&nbsp;" +
					"</td>" +
					"<td align='right'>" +
						"<a href='http://www.tapuz.co.il/poza/' style='color:black;font-size:13px;text-decoration:none;'><strong>הומור</strong></a>&nbsp;|&nbsp;" +
					"</td>" +
					"<td align='right'>" +
						"<a href='http://www.tapuz.co.il/card/' style='color:black;font-size:13px;text-decoration:none;'><strong>גלויות</strong></a>&nbsp;|&nbsp;" +
					"</td>" +
					"<td align='right'>" +
						"<a href='http://www.tapuz.co.il/forums/apps/spCount.asp?spid=510' style='color:black;font-size:13px;text-decoration:none;'><strong>מפות</strong></a>&nbsp;|&nbsp;" +
					"</td>" +
					//"<td align='right'>" +
					//	"<a href='http://www.tapuz.co.il/rechev/' style='color:black;font-size:13px;text-decoration:none;'><strong>רכב</strong></a>&nbsp;|&nbsp;" +
					//"</td>" +
					"<!--td align='right'>" +
						"<a href='http://www.tapuz.co.il/forums/apps/spCount.asp?spid=133' style='color:black;font-size:13px;text-decoration:none;'><strong>קבוצתיות</strong></a>&nbsp;|&nbsp;" +
					"</td-->" +
					"<!--td align='right'>" +
						"<a href='http://www.tapuz.co.il/stat.asp?f=5&url=http://www.p1000.co.il/p1000/default.asp?came=3001' style='color:black;font-size:13px;text-decoration:none;'><strong>פומביות</strong></a>&nbsp;|&nbsp;" +
					"</td-->" +
					"<td align='right' nowrap>" +
						"<a href='http://tapuz.zap.co.il/' style='color:black;font-size:13px;text-decoration:none;'><strong>השוואת מחירים</strong></a>&nbsp;|&nbsp;" +
					"</td>" +
					"<td align='right'>" +
						"<a href='http://miluim.tapuz.co.il/' style='color:black;font-size:13px;text-decoration:none;'><strong>בלתם</strong></a>&nbsp;|&nbsp;" +
					"</td>" +
					"<td align='right' nowrap>" +
						"<a href='http://www.icity.co.il/' style='color:black;font-size:13px;text-decoration:none;'><strong>iCity</strong></a>&nbsp;|&nbsp;" +
					"</td>" +
					//"<td align='right' nowrap>" +
					//	"<a href='/health/' style='color:black;font-size:13px;text-decoration:none;'><strong>בריאות</strong></a>&nbsp;|&nbsp;" +
					//"</td>" +
					"<td align='right'>" +
						"<font onclick='ChangeBar1(1)' style='cursor:hand;font-size:9px;'><strong><font style='color:#FE860C; font-size: 14px;'><<</font></strong></strong></font>" +
					"</td>" +
					"<td align='right' width='90%'></td>" +
				"</tr>" +
				"</table>"
		}
	document.getElementById("innerTd1").innerHTML = STR;
	}
	
function SetHomePage()
{
	oHomePage.style.behavior='url(#default#homepage)'
	oHomePage.setHomePage('http://www.tapuz.co.il')
}