function load_community_tags(obj, portalid) {

	var xmlhttp=init_ajax();
	if (xmlhttp) {
		var url='/frames/communitybytag.php';
		var str='get=tags&c='+portalid;
		var dropbox=document.getElementById(obj);
		//alert (tag)
		xmlhttp.open("POST", url,true);
		xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
		xmlhttp.send(str);
		xmlhttp.onreadystatechange=function() {
			if (xmlhttp.readyState==4) {
				var check=xmlhttp.responseText;
				dropbox.options.length=0;
				dropbox.options[0] = new Option('--בחר/י--','');
				chunks=check.split('|');
				for (j=0;chunks[j];j++){
					bits=chunks[j].split('!');
					dropbox.options[j+1] = new Option(bits[0],bits[1]);
				}
			}
		}
	}

}

function load_communities(obj,c,tag){

	var xmlhttp=init_ajax();
	if (xmlhttp) {
		var url='/frames/communitybytag.php';
		var str='tag='+tag+'&c='+c;
		var dropbox=document.getElementById(obj);
		//alert (tag)
		xmlhttp.open("POST", url,true);
		xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
		xmlhttp.send(str);
		xmlhttp.onreadystatechange=function() {
			if (xmlhttp.readyState==4) {
				var check=xmlhttp.responseText;
				dropbox.options.length=0;
				dropbox.options[0] = new Option('--בחר/י--','');
				chunks=check.split('|');
				for (j=0;chunks[j];j++){
					bits=chunks[j].split('!');
					dropbox.options[j+1] = new Option(bits[0],bits[1]);
				}
			}
		}
	}

}

function tagsapi_add(nodeid,typeid,portelid,tag){

	var xmlhttp=init_ajax();
	if (xmlhttp) {
		var url='/frames/tagsapi.php';
		var str='action=add&tag='+tag+'&typeid='+typeid+'&nodeid='+nodeid+'&portelid='+portelid;

		xmlhttp.open("POST", url,true);
		xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
		xmlhttp.send(str);

		xmlhttp.onreadystatechange=function() {
			if (xmlhttp.readyState==4) {
				var check=xmlhttp.responseText;
				if(document.getElementById){
					document.getElementById('addtag').innerHTML = check;
					document.getElementById('addtag').href = '';
				}
				setCookie('mytags_uid', '');
			}
		}
	}
}

function savemood(mood,portelid) {

	var xmlhttp=init_ajax();
	if (xmlhttp) {
		var url='/frames/mood.php';
		var str='action=change&mood='+mood+'&portelid='+portelid;

		xmlhttp.open("POST", url,true);
		xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
		xmlhttp.send(str);

		xmlhttp.onreadystatechange=function() {
			if (xmlhttp.readyState==4) {
				var check=xmlhttp.responseText;
				return check;
			}
		}
	}

}

function moodselector() {

	if (slctor = document.getElementById('allmoods')) {
		slctor.style.display = (slctor.style.display=='block') ? 'none' : 'block';
	}

}

function selectmood(mood,portelid) {

	// change right mood pic
	if (moodimg = document.getElementById('mymood')) {
		moodimg.src = 'template/bona/images/moods/mood'+mood+'_med.gif';
	}

	//save mood
	temp = savemood(mood,portelid);

	// close selector window
	moodselector();

}

function bonasearch (sf) {

	if (sf.t.value==0) {
		sf.action='tag.php';
		sf.name.name='tag';
	}
	else {
		sf.action='index.php';
		sf.tag.name='name';
	}

}

/***********************************************
* Cross browser Marquee II- Dynamic Drive (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit http://www.dynamicdrive.com/ for this script and 100s more.
***********************************************/

//Specify initial delay before marquee starts to scroll on page (2000=2 seconds)
var delayb4scroll = 1000;
//Specify marquee scroll speed (larger is faster 1-10)
var marqueespeed  = 2;
//Pause marquee onMousever (0=no. 1=yes)?
var pauseit       = 1;

var copyspeed    = marqueespeed;
var pausespeed   = (pauseit==0) ? copyspeed : 0;
var actualheight = '';

function scrollmarquee() {
	if (parseInt(cross_marquee.style.top)>(actualheight*(-1)+8))
		cross_marquee.style.top = parseInt(cross_marquee.style.top)-copyspeed+"px";
	else
		cross_marquee.style.top = parseInt(marqueeheight)+8+"px";
}

function initializemarquee() {
	cross_marquee = document.getElementById("vmarquee");
	cross_marquee.style.top = 0;
	marqueeheight = document.getElementById("marqueecontainer").offsetHeight;
	actualheight  = cross_marquee.offsetHeight;
	if (window.opera || navigator.userAgent.indexOf("Netscape/7")!=-1){ //if Opera or Netscape 7x, add scrollbars to scroll and exit
		cross_marquee.style.height   = marqueeheight+"px";
		cross_marquee.style.overflow = "scroll";
		return;
	}
	setTimeout('lefttime=setInterval("scrollmarquee()",60)', delayb4scroll);
}



function add_answer (key) {
	var content  = '<div class="answer">';
	content 	+= '<input id="'+key+'" class="add" type="text" onfocus="setDisplayExplain(\''+key+'\',\'block\')" onblur="check_'+key+'();setDisplayExplain(\''+key+'\',\'none\')" value="" style="width: 250px;" name="'+key+'[name]['+answers_counter+']"/>';
	content 	+= '<div class="value">ערך תשובה:';
	content 	+= '<input type="text" value="0" style="width: 30px;" name="'+key+'[value]['+answers_counter+']"/>';
	content 	+= '</div></div>';
	document.getElementById('more_placeholder').innerHTML+=content;
	answers_counter++;
	if (answers_counter >= 6) {
		document.getElementById('add_question').innerHTML='';
	}
}

/**
* find your classmates widget
* @param	object	form object
**/
String.prototype.trim = function() {
        return this.replace(/^\s+|\s+$/g, "");
}

function bona(form, city, school, grade) {
	form_elm   = document.getElementById(form);
	city_elm   = document.getElementById(city);
	school_elm = document.getElementById(school);
	grade_elm  = document.getElementById(grade);

	this.select_city = function(selected_index) {
		this.city_value = city_elm[selected_index].value;
		var url='/frames/communitybytag.php?json=1&tag='+this.city_value+'&c=5';
		var temp = '';
		var school_exists = false;
		loadJSON(url, function() {
			school_cache = new Array();
			grade_cache = new Array();
			for (i=0;communitybytag[i];i++) {
				var temp = communitybytag[i].name.split("שכבת");
				school_exists = false;
				//check if schools exists

				for (j = 0;school_cache[j] ; j++) {
					if (school_cache[j].trim() == temp[0].trim()) {

						school_exists = true;
						//add the grade
						grade_cache[j][grade_cache[j].length] = new Array (communitybytag[i].id, temp[1]);
						break;
					}
				}
				if (!school_exists) {
					school_cache[j] = temp[0];
					grade_cache[j]= new Array();
					grade_cache[j][0] = new Array (communitybytag[i].id, temp[1]);
				}
			}
			//populate
			bona_friends.clear(school_elm);
			for (i=0; school_cache[i];i++) {
				var nod=document.createElement("OPTION");
				nod.value	= i;
				if (ie)
					nod.innerText	=  school_cache[i];
				else
					nod.text		= school_cache[i];
				school_elm.appendChild(nod);
			}
			bona_friends.select_school(0);
		}
		);
	}

	this.select_school = function(id) {
		this.clear(grade_elm);
		for (i=0; grade_cache[id][i];i++) {
			var nod=document.createElement("OPTION");
			nod.value	= grade_cache[id][i][0];
			if (ie)
				nod.innerText	=  grade_cache[id][i][1];
			else
				nod.text		= grade_cache[id][i][1];
			grade_elm.appendChild(nod);
		}
	}

	this.clear = function(eml) {
		while (eml.firstChild) {
			eml.removeChild(eml.firstChild);
		}
	}

}

function rate_and_go(user, rated, stars, counter) {
	rate_ajax(stars, user+'_11_'+rated, 'rate_'+rated, '5');
	setTimeout("this.proceed();", 2000);

	this.proceed = function() {
		if (hon[counter]) {
			print_hon(hon[counter][0], hon[counter][1], hon[counter][2], user, counter+1);
		} else {
			document.getElementById('hon_placeholder').innerHTML = '<div class=\"hon_pic\" style=\"font-size: 14px; margin-top: 50px;\">יצאת אלוף! הצלחת לדרג את כל התמונות!<br /><br />אם עדיין בא לך לדרג, בוא\י לבקר שוב<br />בקרוב, או שהגיע הזמן להעלות כמה תמונות<br />משלך ולהיות מלך (או מלכת) האתר!</div>';
		}
	}
}

function hon_nav(whereto, user) {
	if (whereto == 0) {
		whereto = (hon.length-1);
	} else {
		whereto = (whereto-1);
	}
	if (whereto == hon.length) {
		whereto = 0;
	}
	print_hon(hon[whereto][0], hon[whereto][1], hon[whereto][2], user, whereto+1);
}

function print_hon(id, score, path, user, counter) {
	if (score < 0) {
		score_type = 'b';
	} else {
		if (score > 0) {
			score_type = 'g';
		} else {
			score_type = 'n';
		}
	}
	var hon_content	 = '<span id="rate_'+id+'" class="rate_msg"></span>';
	hon_content		+= '<div class="hon_main">';
	hon_content		+= '<a class="hon_pic" href="/view.php?t='+id+'"><img alt="שווה או לא?" src="'+path+'" id="rate_img" /></a>';
	hon_content		+= '</div>';
	hon_content		+= '<span class="stars">';
	hon_content		+= '<a href="javascript:void(0);" class="hon_right" onclick="hon_nav('+(counter-1)+', '+user+')"></a>';
	hon_content		+= '<a class="star2" title="+1" onclick="rate_and_go('+user+', '+id+', 1, '+counter+')" href="javascript:void(0);"></a>';
	hon_content		+= '<span class="rate_score '+score_type+'" onclick="rating_window(\'t\','+id+')">'+score+'</span>';
	hon_content		+= '<a class="star1" title="-1" onclick="rate_and_go('+user+', '+id+', -1, '+counter+')" href="javascript:void(0);"></a>';
	hon_content		+= '<a href="javascript:void(0);" class="hon_left" onclick="hon_nav('+(counter+1)+', '+user+')"></a>';
	hon_content		+= '</span>';
	document.getElementById('hon_placeholder').innerHTML = hon_content;
}

function init_HomePagePeople() {
	var temp;
	var padding = 0;
	var random = 0;
	var pointr = 0;
	this.sets = 0;;
	this.sets.now_p = new Array();
	this.sets.new_p = new Array();
	this.sets.pop_p = new Array();
	this.box = document.getElementById("kir_of_people");
	this.cols = this.box.childNodes.length;
	this.people = new Array();

	var pic1 = new Image(100,25);
	pic1.src = "/template/tmc/img/HomePagePeople.gif";

	this.build_application = function () {
		//build application
		var k = 0;
		var a;
		var b;
		var c;
		this.temp='';
		var imgobj=new Image();
		var rnd_num
		this.items.sort( randOrd );
		//var image_array= new Array(2,3,4,4,4,5,5,4,5,4,4,4,3,0);
		if (this.box.hasChildNodes()){
			while (this.box.hasChildNodes()){
				this.box.removeChild(this.box.firstChild)
			}
		}

		a = document.createElement('div');
		this.box.appendChild(a);

		for(j=0; j<48; j++){
			if (this.items[k]) {
				//0=>id	 * 1=>name	 * 2=>online * 3=> small image	 * 4=> big image
				rnd_num = Math.floor(Math.random()*20)

				b = document.createElement('img');
				b.src = this.items[k][4];
				b.id = 'item_'+k
				b.j_s_0 = people.items[k][0];
				b.j_s_1 = people.items[k][1];
				b.j_s_2 = people.items[k][2];
				b.j_s_3 = people.items[k][3];
				b.j_s_5 = people.items[k][5];
				b.j_s_6 = people.items[k][6];
				b.j_s_7 = people.items[k][7];
				b.j_s_8 = people.items[k][8];
				b.onmouseout  = function(){people.out()}
				b.onmouseover = function(){people.big(this,this.j_s_0,this.j_s_1,this.j_s_2,this.j_s_3,this.j_s_5,this.j_s_6,this.j_s_7,this.j_s_8)}

				a.appendChild(b);
				// preload large images
				imgobj.src = this.items[k][3]
				k++;
			}
		}

		this.items.sort(randOrd);
		this.items_index = 0;
		this.elements = k;
	}

	this.replace = function() {
		var rnd_num = Math.floor(Math.random()*(this.elements+1))
		var item = document.getElementById("item_"+rnd_num)
		var index = this.items_index;
		if (this.items[index] && document.getElementById("item_"+rnd_num)) {
			this.opacity("item_"+rnd_num, 100, 0, 500)
			setTimeout('people.replace_timeout('+rnd_num+','+index+')',1000);
			this.items_index++;
		} else {
			this.items_index=0;
		}

	}
	this.replace_timeout = function(rnd,index){
		if (this.items[index] && document.getElementById("item_"+rnd)){
			var item=document.getElementById("item_"+rnd)
			item.onmouseout=function(){people.out()}
			alert(people.items[index][4]+' :: '+people.items[index][5]);
			item.onmouseover=function(){people.big(this,people.items[index][0] ,people.items[index][1],people.items[index][2],people.items[index][3],people.items[index][4],people.items[index][6],people.items[index][7],people.items[index][8])}
			item.src=this.items[index][4];
			people.opacity("item_"+rnd, 0,100, 500);
		}
	}
	this.out = function(){
		clearTimeout(this.my_timeout);
	}
	this.shrink = function(){
		var el=document.getElementById("temp_person");
		if (el){
			this.changeOpac(0, 'temp_person')
			el.style.display="none";
		}
	}

	this.big = function(elm,id,name,online,image_url,city,age,score,degree){
		this.big_pointr=id;
		this.big_id=id;
		this.big_elm=elm;
		this.big_name=name;
		this.big_online=parseInt(online);
		this.big_image_url=image_url;
		this.big_city=city;
		this.big_age=age;
		this.big_score=score;
		this.big_degree=degree;

		if (this.my_timeout)
			clearTimeout(this.my_timeout);
		this.my_timeout=setTimeout("people.big_timeout()",250)
	}
	this.big_timeout = function(){
		var temp;
		var floatdiv=document.getElementById('temp_person');
		if (!floatdiv){
			var floatdiv=document.createElement('div');
			floatdiv.className="big";
			floatdiv.id ='temp_person';
			//
			if (ie) {
				floatdiv.onmouseleave = function(){people.shrink()}
			} else {
				floatdiv.onmouseout = function(e){
					if (!e) var e = window.event;
					var tg = (window.event) ? e.srcElement : e.target;
					if (tg.nodeName != 'DIV') return;
					var reltg = (e.relatedTarget) ? e.relatedTarget : e.toElement;
					while (reltg != tg && reltg.nodeName != 'BODY')
						reltg= reltg.parentNode
					if (reltg== tg) return;
					// Mouseout took place when mouse actually left layer
					// Handle event
					people.shrink();
				}
			}

			this.big_elm.parentNode.appendChild(floatdiv);
			this.changeOpac(0, 'temp_person');
		}
		floatdiv.innerHTML = '';
		while (floatdiv.hasChildNodes()){
			floatdiv.removeChild(floatdiv.firstChild)
		}

		var profile_link = "view.php?u="+this.big_id;

		var left = document.createElement('a');
		left.href = profile_link;
		var profile_image = new Image();
		profile_image.src = this.big_image_url;
		left.appendChild(profile_image);
		floatdiv.appendChild(left);

		var details = document.createElement('div');
		details.className = 'envelope';
		var p_name = '<a class="rname" href="'+profile_link+'">'+this.big_name+'</a>';
		var ul_string = '<ul>';
		ul_string	 += '<li><a href="'+profile_link+'">גיל: <span>'+this.big_age+'</span></a></li>';
		ul_string	 += '<li><a href="'+profile_link+'">'+this.big_city+'</a></li>';
		ul_string	 += '</ul>';
		var f_string = '<div class="urank"><a href="'+profile_link+'">';
		f_string 	 += '<span class="right">דרגה:</span>';
		f_string 	 += '<span class="rank right">'+this.big_score+'</span>';
		f_string 	 += '<span class="right">'+this.big_degree+'</span>';
		f_string 	 += '</a></div>';
		details.innerHTML = p_name + ul_string + f_string;
		floatdiv.appendChild(details);

		var communicator = document.createElement('ol');
		var ol_string = '<li class="lnk_email"><a href="mail.php?action=compose&amp;to='+this.big_id+'"></a></li>';
		if (this.big_online) {
			ol_string+= '<li class="lnk_chat online"><a href="javascript://" onclick="msg_window(\'im.php?call='+this.big_id+'\',\''+this.big_id+'\')"></a></li>';
		}
		communicator.className = 'messages';
		communicator.innerHTML = ol_string;
		floatdiv.appendChild(communicator);
		//a.appendChild(c);
		//a.appendChild(d);
		//floatdiv.appendChild(a);

		temp = getRealPos(this.big_elm,"Top")-21;
		floatdiv.style.top = temp+'px';
		temp = getRealPos(this.big_elm,"Left")-25;
		floatdiv.style.left = temp+'px';
		floatdiv.style.display = 'block';
		this.opacity(floatdiv.id, 0, 100, 400);
	}

	this.opacity = function(id, opacStart, opacEnd, millisec) {
	    //speed for each frame
	    var speed = Math.round(millisec / 20);
	    var timer = 0;
	    //determine the direction for the blending, if start and end are the same nothing happens
	    if(opacStart > opacEnd) {
	        for(i = opacStart; i >= opacEnd; i=i-5) {
	            setTimeout("people.changeOpac(" + i + ",'" + id + "')",(timer * speed));
	            timer++;
	        }
	    } else if(opacStart < opacEnd) {
			var object = document.getElementById(id);
			object.style.visibility="visible";

	        for(i = opacStart; i <= opacEnd; i=i+5)
	            {
	            setTimeout("people.changeOpac(" + i + ",'" + id + "')",(timer * speed));
	            timer++;
	        }
	    }
	}

	//change the opacity for different browsers
	this.changeOpac = function(opacity, id) {
 		var object = document.getElementById(id);
	   if (object){
		   if (ie){
			   object.style.filter = "progid:DXImageTransform.Microsoft.Alpha(opacity=" + opacity + ")";
		   }else{
			   	object.style.opacity = (opacity / 100);
			    object.style.MozOpacity = (opacity / 100);
			    object.style.KhtmlOpacity = (opacity / 100);
			}
	   }
	}

	this.get_now = function(c,tabs) {
		if (this.requestHttp)
			return;
		if (tabs)
			this.setTabs(tabs);
		clearInterval(this.interval);
		if (!this.sets.pop_p)
			this.get_from_server(c,6,100,function(){people.set_now()})
		else
			this.set_now()
	}

	this.set_now = function() {
		if (this.xmlhttp.readyState==4){
			this.requestHttp=0;
			this.setXmlAsItems();
			this.sets.now_p=this.items;
			this.build_application();
			this.interval=setInterval("people.replace()",2000);
		}
	}

	this.get_popular = function(c,tabs){
		if (this.requestHttp)
			return;
		clearInterval(this.interval);
		if (tabs)
			this.setTabs(tabs);
		if (!this.sets.pop_p)
			this.get_from_server(c,3,50,function(){people.set_popular()})
		else
			this.set_popular()
	}
	this.set_popular = function(){
		if (this.xmlhttp.readyState==4){
			this.requestHttp=0;
			this.setXmlAsItems();
			this.sets.pop_p=this.items;
			this.build_application();
		}
	}

	this.get_new =function(c,tabs){
		if (this.requestHttp)
			return;

		clearInterval(this.interval);
		if (tabs)
			this.setTabs(tabs);
		if (!this.sets.pop_p)
			this.get_from_server(c,2,50,function(){people.set_new()})
		else
			this.set_new()
	}

	this.set_new = function(){
		if (this.xmlhttp.readyState==4){
			this.requestHttp=0;
			this.setXmlAsItems();
			this.sets.new_p=this.items;
			this.build_application();
		}
	}

	this.setTabs = function(click_ul){
		ul=click_ul.parentNode.parentNode.childNodes;
		for (i=0;ul[i];i++)
		{
			ul[i].className="";
		}
		click_ul.parentNode.className="current"
	}

	this.setXmlAsItems = function(){
		/*0=>id
		 * 1=>name
		 * 2=>online
		 * 3=> small image
		 * 4=> big image
		 */
		var id;
		var online;
		var image;
		var items=this.xmlhttp.responseXML.getElementsByTagName('item');
		this.items=new Array();
		for(k=0;items[k];k++){
			id=items[k].getAttribute("id");
			name=items[k].getElementsByTagName("name")[0].childNodes[0].nodeValue;
			online=items[k].getElementsByTagName("online")[0].childNodes[0].nodeValue;
			image=items[k].getElementsByTagName("image")[0].childNodes[0].nodeValue;
			this.items[k]=new Array(id,name,online,image,image);
		}
	}

	this.get_from_server =function(c,sort,limit,func){

		url="backend/userxml.php?c="+c+"&f=1sort="+sort+"&limit="+limit;
		this.requestHttp=1;
		this.xmlhttp=init_ajax();
		clearInterval(this.interval);
		this.items=new Array();
		if (this.xmlhttp) {
			this.xmlhttp.open("GET", url,true);
			this.xmlhttp.send(null);
			this.xmlhttp.onreadystatechange=func
		}
	}
}

function randOrd(){
	return (Math.round(Math.random())-0.5);
}

function show_hidden_items(myid, todo) {
	if (todo == "open") {
		for (i=0;i<13;i++) {
			if (document.getElementById(myid+'_'+i)) {
				document.getElementById(myid+'_'+i).style.display = 'block';
			}
		}
		document.getElementById(myid+'_more').style.display = 'none';
		document.getElementById(myid+'_less').style.display = 'block';
	} else if (todo == "close") {
		for (i=0;i<13;i++) {
			if (document.getElementById(myid+'_'+i)) {
				document.getElementById(myid+'_'+i).style.display = 'none';
			}
		}
		document.getElementById(myid+'_more').style.display = 'block';
		document.getElementById(myid+'_less').style.display = 'none';
	}
}

function _axe() {


	this.axe_url		= 'http://www.axeeffect.co.il/axechallenge/?site=376'

	this.elem = {
		editor: document.getElementById('box_1_HomePageStories_0'),
		hot:	document.getElementById('box_5_HotOrNot_0'),
		wall:	document.getElementById('kir_of_people'),
		images:	document.getElementById('box_6_HomepagePics_0'),
		birthday:document.getElementById('box_8_Birthday_0'),
		video:	document.getElementById('box_4_HomepageVideo_0')
	}

	this.display = function() {
		//not homepgae
		if (!document.getElementById('box_1_HomePageStories_0')) {
			window.location = "http://www.bona.co.il/?axe=1"
			return;
		}
		this.hide_children(this.elem.editor);
		this.elem.editor.banner.style.display = 'block'

		this.hide_children(this.elem.hot);
		this.elem.hot.banner.style.display = 'block'

		this.hide_children(this.elem.wall);
		this.set_banner(this.elem.wall, '/template/bona/pages/axe/pictures.jpg');
		this.elem.wall.banner.style.display = 'block'
		this.elem.wall.banner_image.style.width = '507px'
		this.elem.wall.banner_image.style.height = '132px'

		this.hide_children(this.elem.video);
		this.elem.video.banner.style.display = 'block'

		this.hide_children(this.elem.images);
		this.elem.images.banner.style.display = 'block'

		this.hide_children(this.elem.birthday);
		this.elem.birthday.banner.style.display = 'block'

	}

	this.hide_children = function(elm1){
		var i;
		var l =  elm1.childNodes.length
		for (i=0; i<l; i++){
			if (elm1.childNodes[i].style)
				elm1.childNodes[i].style.display = 'none'
		}
	}
	this.hide = function () {

	}

	// Sets a banner as child
	this.set_banner = function(elm , image) {
		var temp;
		elm.banner				= document.createElement('A');
		elm.banner.href			= this.axe_url;
		elm.banner_image		= document.createElement('IMG');
		elm.banner_image.src	= image
		elm.banner.appendChild(elm.banner_image);
		elm.banner.style.display = 'none';
		elm.appendChild(elm.banner);
		//console.log(elm.childNodes)
	}
	if (document.getElementById('box_1_HomePageStories_0')) {
		// init banners
		this.set_banner(this.elem.editor, '/template/bona/pages/axe/katavot_2.jpg');
		this.set_banner(this.elem.hot, '/template/bona/pages/axe/photoContest.jpg');
		this.set_banner(this.elem.wall, '/template/bona/pages/axe/pictures.jpg');
		this.set_banner(this.elem.images, '/template/bona/pages/axe/TmunatHayom.jpg');
		this.set_banner(this.elem.birthday, '/template/bona/pages/axe/birthday.jpg');
		this.set_banner(this.elem.video, '/template/bona/pages/axe/video.jpg');
	}
}

