
var timer;var x2 = 0;var y2 = 0;var interval = 10;var delay = 100;var move = 10;function start_shake()
{if(timer==null)
{timer = setInterval("shake()",delay);}
}
function stop_shake()
{clearInterval(timer);timer = null;}
function shake()
{var x = move*Math.random()-(move/2);var y = move*Math.random()-(move/2);var i = 0;for(i=0;i<interval;i++)
{setTimeout("setPos("+((i*x)/interval+(interval-i)*x2/interval)+","+((i*y)/interval+(interval-i)*y2/interval)+");",i*(delay/interval));}
x2 = x;y2 = y;}
function setPos(x,y)
{ins = document.getElementById('inscription');ins.style.marginLeft = Math.round(x)+"px";ins.style.marginTop = Math.round(y)+"px";}
var g_s = 'g';
function set_s(s)
{$('form_upload_img').src = $('form_upload_img').src.replace('inscription_'+g_s,'inscription_'+s);g_s = s;}
function focus_login(e)
{e.style.display='none';e.nextSibling.style.display='';e.nextSibling.focus();}
function blur_login(e){if(e.value=='')
{e.style.display='none';e.previousSibling.style.display='';}
}
function displayGift(gift_id)
{if($('gift_'+gift_id) && !g_g)
{g_g = 1;Effect.Grow('gift_'+gift_id);setTimeout("Effect.Shrink('gift_"+gift_id+"')",4000);setTimeout("g_g=0",4100);}
}
function highlightBox(box,className)
{
changeClass(box.firstChild.childNodes[0].childNodes[0].firstChild,className);changeClass(box.firstChild.childNodes[0].childNodes[1],className);changeClass(box.firstChild.childNodes[0].childNodes[2].firstChild,className);changeClass(box.firstChild.childNodes[1].childNodes[0],className);changeClass(box.firstChild.childNodes[1].childNodes[1],className);changeClass(box.firstChild.childNodes[1].childNodes[2],className);changeClass(box.firstChild.childNodes[2].childNodes[0],className);changeClass(box.firstChild.childNodes[2].childNodes[1],className);changeClass(box.firstChild.childNodes[2].childNodes[2],className);}
var g_l = 0;
function addLastConnected(src, name, txt, link)
{if($('last_connected_div').childNodes.length > g_l_m)
{$('last_connected_div').removeChild($('last_connected_div').lastChild);}
tmp = $('last_connected_div').firstChild.cloneNode(true);tmp.firstChild.rows[1].childNodes[1].firstChild.childNodes[0].href=link;tmp.firstChild.rows[1].childNodes[1].firstChild.childNodes[0].childNodes[0].innerHTML = name;tmp.firstChild.rows[1].childNodes[1].firstChild.childNodes[0].childNodes[1].childNodes[0].src = src;tmp.firstChild.rows[1].childNodes[1].firstChild.childNodes[0].childNodes[1].childNodes[0].style.display = '';tmp.firstChild.rows[1].childNodes[1].firstChild.childNodes[0].lastChild.innerHTML = txt;tmp.style.width = '0px';tmp.firstChild.style.cssFloat = 'right';tmp.firstChild.style.styleFloat = 'right';tmp.firstChild.style.marginRight = '5px';$('last_connected_div').insertBefore(tmp,$('last_connected_div').firstChild);tmp.morph('width:100px;');$('last_connected_div').childNodes[g_l_m].firstChild.style.cssFloat = 'left';$('last_connected_div').childNodes[g_l_m].firstChild.style.styleFloat = 'left';$('last_connected_div').childNodes[g_l_m].morph('width:0px;');}
function changeClass(td,className)
{td.className = td.className.substring(0,td.className.length-1)+className;}
function ajax_loader(id)
{$(id).firstChild.firstChild.childNodes[1].childNodes[1].innerHTML='<div class="ajax_loader"></div>';}
function update_pagination(box, page, del, wide)
{ajax_loader(box);url = 'page=ajax&action=page&box='+box+'&n_page='+page;if(del)
{url+='&del='+del;}
if(wide)
{url+='&wide='+wide;}
new Ajax.Updater($(box), 'index.php',{method: 'get', parameters: url+g_fb_url,onSuccess: function(transport)
{},onFailure: function()
{}
});}
var box = 'box_connected';function do_search(my_form)
{ajax_loader(box);new Ajax.Updater($(box), 'index.php',{method: 'get', parameters: 'page=ajax&action=page&box=box_search_result&n_page=1&search=1&'+$(my_form).serialize()+g_fb_url,onSuccess: function(transport)
{},onFailure: function()
{}
});$(box).id = 'box_search_result';box = 'box_search_result';}
function do_credentials(my_form)
{new Ajax.Updater($('box_credentials'), 'index.php',{method: 'get', parameters: 'page=ajax&action=page&box=box_credentials_update&'+$(my_form).serialize()+g_fb_url,onSuccess: function(transport)
{},onFailure: function()
{}
});ajax_loader('box_credentials');}
function do_main(my_form)
{new Ajax.Updater($('box_main'), 'index.php',{method: 'get', parameters: 'page=ajax&action=page&box=box_main_update&'+$(my_form).serialize()+g_fb_url,onSuccess: function(transport)
{},onFailure: function()
{}
});ajax_loader('box_main');}
var g_d = 0;/* Discussion Flag */
var g_n = 1;/* Notification Flag */
var g_i = 0;/* Chatter Index */
var g_m = 0;/* My Index */
var g_u = 0;/* Timer */
var g_f = 1;/* First update flag */
var g_c = -1;/* Message counter */
var g_g = 0;/* Gift Playing Tag */
var g_ch_ps = new Array();var g_ch_gd = new Array();
function ajax_update()
{url = 'index.php?page=ajax&action=update&d='+g_d+'&n='+g_n+'&id='+g_i+'&l='+g_l+g_fb_url+'&nocache='+Math.random();ajx = new Ajax.Request(url,{method:'get',onSuccess:function(transport){ajax_parse(transport.responseXML)}});}
function show_notif(url_photo,url, txt, type)
{if(type==null)
{type = '5';}
console.log($('box_notif_div').firstChild.firstChild.firstChild);$('box_notif_div').firstChild.firstChild.firstChild.childNodes[0].firstChild.className = 'bx_tl bx_tl_'+type;$('box_notif_div').firstChild.firstChild.firstChild.childNodes[1].className = 'bx_tp bx_tp_'+type;$('box_notif_div').firstChild.firstChild.firstChild.childNodes[2].firstChild.className = 'bx_tr bx_tr_'+type;$('notif_photo').src=url_photo;$('notif_text').innerHTML=txt;$('box_notif_a').href= url;$('box_notif_div').style.display='';new Effect.Move('box_notif_div', { x: p_x, y: p_y, transition: Effect.Transitions.sinoidal, duration:2, queue:'end'});new Effect.BlindDown('box_notif_inner',{duration:0.5,queue:'front'});setTimeout(clear_notif,15000);g_n = 0;}
function clear_notif()
{new Effect.Move('box_notif_div', { x: -p_x, y: -p_y, duration:0.1});new Effect.Fade('box_notif_div', { duration:0});new Effect.BlindUp('box_notif_inner',{duration:0.5,queue:'front'});g_n = 1;}
function ajax_parse(xmrResponse)
{if(!xmrResponse)
{clearInterval(g_u);return false;}
lastconnected = xmrResponse.getElementsByTagName('lastConnected');if(lastconnected.length>0)
{addLastConnected(lastconnected[0].childNodes[0].firstChild.nodeValue,lastconnected[0].childNodes[1].firstChild.nodeValue,lastconnected[0].childNodes[2].firstChild.nodeValue,lastconnected[0].childNodes[3].firstChild.nodeValue);}
returncode = xmrResponse.getElementsByTagName('returnCode');if(returncode.length>0)
{returncode = returncode[0].firstChild.nodeValue;returnmsg = xmrResponse.getElementsByTagName('returnMessage');if(returnmsg.length>0)
{returnmsg = returnmsg[0].firstChild.nodeValue;if(returncode > 0)
{if(g_d)
{ajax_chat_add_notif(returnmsg,'ok');}
return true;}
else if(returncode == -3 || returncode == -8)
{document.location = returnmsg;return false;}
else
{if(g_d)
{ajax_chat_add_notif(returnmsg,'err');}
return false;}
}
else if(returncode == -9)
{new Ajax.Updater($('hover'),'index.php?page=ajax&action=page&box=box_subscribe'+g_fb_url);return false;}
return returncode;}
notification = xmrResponse.getElementsByTagName('notification');{if(notification.length>0)
{try
{url = notification[0].childNodes[0].firstChild.nodeValue;txt = notification[0].childNodes[1].firstChild.nodeValue;url_photo = notification[0].childNodes[3].firstChild.nodeValue;type = notification[0].childNodes[4].firstChild.nodeValue;show_notif(url_photo,url, txt, type);}
catch(e)
{}
}
}
msgnumber = xmrResponse.getElementsByTagName('msgNumber');if(msgnumber.length>0)
{msgnumber = msgnumber[0].firstChild.nodeValue;$('menu_new_msg').innerHTML = ((msgnumber>0)?'<b>'+(msgnumber*1)+'</b>':(msgnumber*1));if(msgnumber > g_c && g_c>0)
{Effect.Pulsate('menu_new_msg');}
g_c = msgnumber;}
if(xmrResponse.getElementsByTagName('chatter').length > 0 && g_f==1)
{chatters = xmrResponse.getElementsByTagName('chatter');g_m = chatters[0].childNodes[0].firstChild.nodeValue;g_i = chatters[1].childNodes[0].firstChild.nodeValue;g_ch_ps[g_m] = chatters[0].childNodes[1].firstChild.nodeValue;g_ch_ps[g_i] = chatters[1].childNodes[1].firstChild.nodeValue;g_ch_gd[g_m] = chatters[0].childNodes[2].firstChild.nodeValue;g_ch_gd[g_i] = chatters[1].childNodes[2].firstChild.nodeValue;}
if(g_d && xmrResponse.getElementsByTagName('message').length > 0)
{if(!$('message_table'))
{}
else
{chat_msg = xmrResponse.getElementsByTagName('message');if(g_f==1)
{chat_new_msg = chat_msg.length;}
else
{tmp = Array();for(i=0;i<chat_msg.length;i++)
{id = chat_msg[i].childNodes[0].firstChild.nodeValue;if(id!=g_m)
{tmp.push(chat_msg[i]);}
}
chat_msg = tmp;chat_new_msg = xmrResponse.getElementsByTagName('newMsgs')[0].firstChild.nodeValue;}
for(i=(chat_msg.length-chat_new_msg);i<chat_msg.length;i++)
{id = chat_msg[i].childNodes[0].firstChild.nodeValue;if(chat_msg[i].childNodes.length==4)
{g = chat_msg[i].childNodes[2].firstChild.nodeValue;if(id!=g_m)
{ajax_chat_add_notif(js_gift_recieve.replace('%$1s',js_gift[g]).replace('%$2s','<a href="'+js_gift_recieve_url+'.html">'+js_gift_recieve_link+'</a>'),'ok');}
else
{ajax_chat_add_notif(js_gift_sent.replace('%$1s',g_ch_ps[g_i]),'ok');}
if(chat_msg[i].childNodes[3].firstChild.nodeValue=='1')
{setTimeout("displayGift("+g+")",2000);}
}
else
{g = null;}
if(chat_msg[i].childNodes[1].childNodes.length==0)
{txt = ' ';}
else
{txt = chat_msg[i].childNodes[1].firstChild.nodeValue;}
ajax_chat_add_reply(txt,g_ch_ps[id],g_ch_gd[id],g);}
}
}
g_f = 0;return true;}
function ajax_chat_start(id)
{g_d = 1;g_i = id;ajax_update();ajax_chat_focus_compose();$('compose').focus();try
{new Draggable('smile_panel',{handle:'smile_panel_h',starteffect:'',endeffect:''});}
catch(e)
{}
try
{new Draggable('gift_panel',{handle:'gift_panel_h',starteffect:'',endeffect:''});}
catch(e)
{}
}
function ajax_chat_focus_compose()
{if($('compose').value==js_compose_helper)
{$('compose').value='';$('compose').style.color='black';}
return true;}
function ajax_chat_blur_compose()
{try
{if($('compose').value.length==0)
{$('compose').value=js_compose_helper;$('compose').style.color='grey';}
return true;}
catch(e)
{}
}
function ajax_chat_add_smile(code)
{$('compose').style.color='black';$('compose').focus();ajax_chat_focus_compose();$('compose').value+=code+' ';return false;}

function ajax_chat_toggle_smile()
{try
{if($('smile_panel').style.display=='none')
{$('smile_panel').style.top=s_x+'px';$('smile_panel').style.left=s_y+'px';$('smile_panel').style.display='';new Effect.BlindDown('smile_panel_i',{duration:0.5});
}
else
{new Effect.Fade('smile_panel', { duration:0});new Effect.BlindUp('smile_panel_i',{duration:0.5,queue:'front'});}
}
catch(e)
{}
}
function ajax_chat_toggle_gifts()
{try
{if($('gift_panel').style.display=='none')
{$('gift_panel').style.top=s_x+'px';$('gift_panel').style.left=s_y+'px';$('gift_panel').style.display='';new Effect.BlindDown('gift_panel_i',{duration:0.5});
}
else
{new Effect.Fade('gift_panel', { duration:0});new Effect.BlindUp('gift_panel_i',{duration:0.5,queue:'front'});}
}
catch(e)
{}
}
function ajax_chat_add_reply(msg, pseudo, gender,gift_id)
{try
{if(g_d && msg !='')
{msg = msg.replace(/\\\'/ig,"'");msg = msg.replace(/\\&quot;/ig,'"');msg = msg.replace(/&gt;/ig,'>');msg = msg.replace(/&amp;/ig,'&');msg = msg.replace(/\\\\/ig,"\\");msg = msg.replace(/&eacute;/ig,"é");msg = msg.replace(/&egrave;/ig,"è");msg = msg.replace(/&ugrave;/ig,"ù");msg = msg.replace(/&agrave;/ig,"à");var tr = $('message_table').insertRow(-1);var td_psd = tr.insertCell(0);var td_msg = tr.insertCell(1);td_psd.className='box_generic_chat_dial_psd text_'+gender;td_psd.appendChild(document.createTextNode(pseudo.replace(/ /ig,"\u00a0")+"\u00a0-"));td_msg.className='box_generic_chat_dial_msg'+(gift_id?' text_p':'');td_msg.appendChild(document.createTextNode(msg));for(s=0;s<js_smile.length;s++)
{if(js_smile[s])
{j = 1;smile = js_smile[s].replace(">","&gt;");while(j)
{tmp = td_msg.innerHTML.replace(smile,'<img src="img/smile_s/'+s+'.png"></img>');if(tmp==td_msg.innerHTML)
{j = 0;}
td_msg.innerHTML = tmp;}
}
}
td_msg.innerHTML = td_msg.innerHTML.replace(/\\n/g,'<br />');if(gift_id)
{td_msg.innerHTML = '<img style="cursor:pointer;" onclick="displayGift('+gift_id+')" src="/img/gift/'+gift_id+'/30.png"></img>'+td_msg.innerHTML;}
$('message').scrollTop=$('message').scrollHeight;}
}
catch(e)
{}
}
function ajax_chat_add_notif(msg, type)
{if(g_d)
{$('message').style.backgroundImage = "";var tr = $('message_table').insertRow(-1);var td_msg = tr.insertCell(0);td_msg.className = 'box_generic_chat_dial_'+type;td_msg.innerHTML = msg;td_msg.colSpan = 2;$('message').scrollTop=$('message').scrollHeight;}
}
function chat_send_msg(txt)
{if(g_d)
{ajax_chat_focus_compose();$('compose').focus();if(txt==null)
{txt = $('compose').value;}
if(txt!='')
{if(g_f==1)
{g_f=0;}
ajax_chat_add_reply(txt,g_ch_ps[g_m],g_ch_gd[g_m]);$('compose').value='';url = 'index.php?page=ajax&action=send_msg&msg='+encodeURIComponent(txt)+'&id='+g_i+g_fb_url+'&nocache='+Math.random();new Ajax.Request(url, {method:'get',onSuccess:function(transport){ajax_parse(transport.responseXML);}});}
}
}
function chat_send_gift(gift_id)
{try
{new Ajax.Updater($('hover'),'index.php?page=ajax&action=page&box=box_send_gift&gift='+gift_id+'&id='+g_i,{onComplete:function(transport){$('compose').focus();$('gift_msg').value = $('compose').value;$('compose').value = '';$('gift_msg').focus();}});new Effect.Fade('gift_panel', { duration:0});new Effect.BlindUp('gift_panel_i',{duration:0,queue:'front'});}
catch(e)
{console.error(e);}
}
function chat_blacklist(add,op_id)
{if(g_d || op_id)
{if(g_d)
{ban_id = g_i;}
else
{ban_id = op_id;}
url = 'index.php?page=ajax&action=blacklist&add='+add+'&id='+ban_id+'&nocache='+g_fb_url+Math.random();new Ajax.Request(url, {method:'get',onSuccess:function(transport){ajax_parse(transport.responseXML)}});}
}
function chat_favlist(add)
{if(g_d || op_id)
{if(g_d)
{fav_id = g_i;}
else
{fav_id = op_id;}
url = 'index.php?page=ajax&action=favlist&add='+add+'&id='+fav_id+'&nocache='+g_fb_url+Math.random();new Ajax.Request(url, {method:'get',onSuccess:function(transport){ajax_parse(transport.responseXML)}});}
}
function close_msg_box()
{$('box_error_msg_over').style.display = 'none';$('box_error_msg_bg').style.display = 'none';}
function onlyNum(object)
{object.value = object.value.replace(/[^0-9]/g,'');}
function setVisibility(id,display)
{if(display)
{$(id).style.display='';}
else
{$(id).style.display='none';}
}
var mail_tab = {"hotmial": "hotmail","free.com": "free.fr","hotmaol": "hotmail","hotmaile": "hotmail","hotmaill" : "hotmail","hhotmail" : "hotmail","hottmail" : "hotmail","hotmmail" : "hotmail","hotmaail" : "hotmail","hotmaiil" : "hotmail","hotmaile" : "hotmail","hotmall": "hotmail","hotrmail" : "hotmail","hotemail" : "hotmail","@otmail" : "@hotmail","hotmeil" : "hotmail","hormail" : "hotmail","hotmaim" : "hotmail","@ree.fr" : "@free.fr","hotmil" : "hotmail","hotmal" : "hotmail","homtail" : "hotmail","hptmail" : "hotmail","hotamil" : "hotmail","hotmal" : "hotmail","hotmaim" : "hotmail","@ree" : "@free","hotmaill" : "hotmail","hotail" : "hotmail","lapsote" : "laposte","homtail" : "hotmail","@frre" : "@free","htomail" : "hotmail","hotail" : "hotmail","gotmail" : "hotmail","tiscal.fr" : "tiscali.fr","hotmaiul" : "hotmail","hotmal" : "hotmail","hotmzil" : "hotmail","yaoo" : "yahoo","ayhoo" : "yahoo","ayhhoo" : "yahoo","yahhoo" : "yahoo","yaho." : "yahoo.","yhahoo" : "yahoo","hotmaail" : "hotmail","hotmil" : "hotmail","htmail" : "hotmail","hatmail" : "hotmail","hitmail" : "hotmail","neu.fr" : "neuf.fr","htomail" : "hotmail","hotmal" : "hotmail","lpaoste" : "laposte","hormail" : "hotmail","wwebmail" : "webmail","hptmail" : "hotmail","htomail" : "hotmail","hotamil" : "hotmail","@aramail" : "@caramail","hotmails" : "hotmail","courriermail" :"couriermail","mns." : "msn.","alposte" : "laposte","hoymail" : "hotmail","sypatico" : "sympatico","@ympatico" : "@sympatico","clu-internet" : "club-internet","tisclai" : "tiscali","symaptico" : "sympatico","@leposte" : "@laposte","wanaddoo" : "wanadoo","wanadoo" : "wanadoo","waanadoo" : "wanadoo","wannadoo" : "wanadoo","wanaadoo" : "wanadoo","hotnail" : "hotmail","@egetel" : "@cegetel","caramil" : "caramail","simpatico" : "sympatico","lapostes" : "laposte","@ahoo" : "@yahoo","hoitmail" : "hotmail","hootmail" : "hotmail","hatmail" : "hotmail","@euf" : "@neuf","hotamail" : "hotmail","hoymail" : "hotmail","@gmaol" : "@gmail","@gamail" : "@gmail","@cegtel" : "@cegetel","@tahoo" : "@yahoo","@carmail" : "@caramail","@wanasoo" : "@wanadoo","hotmsil" : "hotmail","waandoo" : "wanadoo","@gmial" : "@gmail","@ol" : "@aol","@htmail" : "@hotmail","@hotrmail" : "@hotmail","@oranfe" : "@orange","@wannadoo" : "@wanadoo","@hotramil" : "@hotmail","@carmail" : "@caramail","@cramail" : "@caramail","@caramail" : "@caramail","@caraail" : "@caramail","@caramil" : "@caramail","@caramal" : "@caramail","@caramali" : "@caramail","@caraamil" : "@caramail","@hotamil" : "@hotmail","@gaiml" : "@gmail","@wanasoo" : "@wanadoo","@hotma." : "@hotmail.","@hotmai." : "@hotmail.","@hotail" : "@hotmail","@voiula" : "@voila","@vooila" : "@voila","@voiila" : "@voila","@voilla" : "@voila","@voilaa" : "@voila","@vvoila" : "@voila","@viola" : "@voila","@voial" : "@voila","@hotmzail" : "@hotmail","@symaptico" : "@sympatico","@mssn" : "@msn","@msnn" : "@msn","@mmsn" : "@msn","@exempel." : "@exemple.","@hayoo" : "@yahoo","@yahoou" : "@yahoo","@yahooo" : "@yahoo","@yaho." : "@yahoo.","@ool" : "@aol","@aool" : "@aol","@aaol" : "@aol","@ol" : "@aol","@al" : "@aol","@aoll" : "@aol","@ceetel" : "@cegetel","@bougtel" : "@bouygtel","@numricable" : "@numericable","@otmal" : "@hotmail","@caralail" : "@caramail","@laposet" :"@laposte","@laaposte" :"@laposte","@lapposte" :"@laposte","@lapooste" :"@laposte","@laposste" :"@laposte","@lapostte" :"@laposte","@lapostee" :"@laposte","@hotmsil" : "@hotmail","@hotmait" : "@hotmail","club-internet.com" : "club-internet.fr","voila.com" : "voila.fr","laposte.com" : "laposte.net","wanadoo.com" : "wanadoo.fr","laposte.fr" : "laposte.net","laposte.com" : "laposte.net","gmil.com" : "gmail.com","gail.com" : "gmail.com"
}
function checkEmail(input_email)
{regle = /^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]{2,}[.][a-zA-Z]{2,3}$/
if(input_email.value=='')
{alert(js_mail_empty);return false;}
if(!regle.test(input_email.value))
{alert(js_mail_wrong);return false;}
var replaced = input_email.value;for (var line in mail_tab)
{replaced = replaced.replace(line, mail_tab[line]);}
if(replaced!=input_email.value)
{if(confirm(js_mail_suggest+replaced+"' ?"))
{input_email.value=replaced;return true;}
else
{return false;}
}
return true;}
function getElementsByClassName(className, tag, elm)
{var testClass = new RegExp("(^|s)" + className + "(s|$)");var tag = tag || "*";var elm = elm || document;var elements = (tag == "*" && elm.all)? elm.all : elm.getElementsByTagName(tag);var returnElements = [];var current;var length = elements.length;for(var i=0; i<length; i++)
{current = elements[i ];if(testClass.test(current.className))
{returnElements.push(current);}
}
return returnElements;}

window.onscroll = function()
{var tmp = document.getElementById('box_error_msg_bg');if(tmp != null)
{tmp.style.top = document.documentElement.scrollTop+'px';document.getElementById('box_error_msg_over').style.marginTop = document.documentElement.scrollTop+'px';}
}
var js_mail_empty = "Vous n'avez pas entré d'adresse e-mail !";var js_mail_wrong = "Cette adresse e-mail n'est pas valide !";var js_mail_suggest = "Cette adresse e-mail semble invalide !\nVouliez-vous écrire ";var js_compose_helper = "Tapez votre texte ici...";var js_gift_sent = "Vous avez envoyé un Gift à %$1s";var js_gift_recieve = "Vous avez reçu un Gift ! (%$1s Crédits à échanger dans le %$2s)";var js_gift_recieve_link = "Gift Store";var js_gift_recieve_url = "gift-store";var js_smile = new Array();js_smile[1]=":-D";js_smile[2]=":-p";js_smile[3]=";-)";js_smile[4]=":-X";js_smile[5]="@:)";js_smile[6]=">:D";js_smile[7]="8-)";js_smile[8]=":-(";js_smile[9]=":-S";js_smile[10]=":-)";js_smile[11]=":)";js_smile[12]=":(";var js_gift = new Array();js_gift[1]="250";js_gift[2]="250";js_gift[3]="250";js_gift[13]="250";js_gift[14]="500";js_gift[15]="500";js_gift[16]="1000";js_gift[17]="2000";js_gift[18]="5000";