﻿
function activateMain(linkid) 
{
    if (linkid == "ChineseNewYear")
        document.getElementById("Home").className = "menulink";
    else
        document.getElementById(linkid).className="menulinkselected";
}

function activateSub(linkid)
{  
     var abc= document.getElementById(linkid);
    document.getElementById(linkid).className="side_menu_link_selected";
}


 function _cln_enter(){
 window.open('http://zebra.livechatnow.com/js/enter.php?url=&refer=&name=&email=&skin=&survey=&survey_ec=&survey_lm=&user=&uid=&sid=&cid=10641&op=&ip=&group=General&q=&track=','_chat_10641','resizable=yes,menubar=no,scrollbars=no, width=500, height=350,left=300,top=200');
 return false;
 }
 
 function fbs_click() {u=location.href;t=document.title;window.open('http://www.facebook.com/sharer.php?u='+encodeURIComponent(u)+'&t='+encodeURIComponent(t),'sharer','toolbar=0,status=0,width=626,height=436');return false;}

 function contactus_form()
 { url = location.href; title = document.title; window.open('http://www.essaywriter.co.uk/contactus_form.aspx' + encodeURIComponent(url) + '&title=' + encodeURIComponent(title), 'sharer', 'toolbar=0,status=0,scrollbars=yes,width=626,height=436,left=300,top=200'); return false; }


function delocious()
{url=location.href;title=document.title;window.open('http://delicious.com/post?url='+encodeURIComponent(url)+'&title='+encodeURIComponent(title),'sharer','toolbar=0,status=0,scrollbars=yes,width=626,height=436,left=300,top=200');return false;}

function fark()
{u=location.href;h=document.title;window.open('http://cgi.fark.com/cgi/farkit.pl?u='+encodeURIComponent(u)+'&h='+encodeURIComponent(h),'sharer','toolbar=0,status=0,scrollbars=yes,width=626,height=436,left=300,top=200');return false;}

function mixx()
{page_url=location.href;title=document.title;window.open('http://www.mixx.com/submit?page_url='+encodeURIComponent(page_url),'sharer','toolbar=0,status=0,scrollbars=yes,width=626,height=436,left=300,top=200');return false;}


function reditt()
{url=location.href;title=document.title;window.open('http://reddit.com/submit?url='+encodeURIComponent(url)+'&title='+encodeURIComponent(title),'sharer','toolbar=0,status=0,scrollbars=yes,width=626,height=436,left=300,top=200');return false;}



function technorati()
{add=location.href;title=document.title;window.open('http://www.technorati.com/faves?add='+encodeURIComponent(add),'sharer','toolbar=0,status=0,scrollbars=yes,width=626,height=436,left=300,top=200');return false;}


function stumbleupon()
{url=location.href;title=document.title;window.open('http://stumbleupon.com/submit?url='+encodeURIComponent(url)+'&title='+encodeURIComponent(title),'sharer','toolbar=0,status=0,scrollbars=yes,width=626,height=436,left=300,top=200');return false;}


function twitter()


{at=location.href;status=document.title;window.open('http://twitter.com/home?status=Check out this page <'+encodeURIComponent(status)+'>&at=<'+encodeURIComponent(at)+'>','sharer','toolbar=0,status=0,scrollbars=yes,width=626,height=436,left=300,top=200');return false;}


function folkd()

{url=location.href;status=document.title;window.open('http://www.folkd.com/submit/'+encodeURIComponent(url),'sharer','toolbar=0,status=0,scrollbars=yes,width=626,height=436,left=300,top=200');return false;}


function propeller()

{U=location.href;T=document.title;window.open('http://www.propeller.com/submit/?U='+encodeURIComponent(U)+'&T='+encodeURIComponent(T),'sharer','toolbar=0,status=0,scrollbars=yes,width=626,height=436,left=300,top=200');return false;}

function bebo()

{Url=location.href;Title=document.title;window.open('http://www.bebo.com/c/share?Url='+encodeURIComponent(Url)+'&Title='+encodeURIComponent(Title),'sharer','toolbar=0,status=0,scrollbars=yes,width=626,height=436,left=300,top=200');return false;}


function digg()

{url=location.href;title=document.title;window.open('http://digg.com/submit?phase=2&url='+encodeURIComponent(url)+'&title='+encodeURIComponent(title),'sharer','toolbar=0,status=0,scrollbars=yes,width=626,height=436,left=300,top=200');return false;}

function squidoo()

{url=location.href;title=document.title;window.open('http://www.squidoo.com/lensmaster/bookmark?'+encodeURIComponent(url),'sharer','toolbar=0,status=0,scrollbars=yes,width=626,height=436,left=300,top=200');return false;}

