
var current="Contest is over check out the winners!";var montharray=new Array("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec");function countdown(yr,m,d){theyear=yr;themonth=m;theday=d;var dd=new Date();var utc=dd.getTime()+(dd.getTimezoneOffset()*60000);var today=new Date(utc+(3600000));var todayy=today.getYear();if(todayy<1000)todayy+=1900;var todaym=today.getMonth();var todayd=today.getDate();var todayh=today.getHours();var todaymin=today.getMinutes();var todaysec=today.getSeconds();var todaystring=montharray[todaym]+" "+todayd+", "+todayy+" "+todayh+":"+todaymin+":"+todaysec
futurestring=montharray[m-1]+" "+d+", "+yr
dd=Date.parse(futurestring)-Date.parse(todaystring)
dday=Math.floor(dd/(60*60*1000*24)*1)
dhour=(Math.floor((dd%(60*60*1000*24))/(60*60*1000)*1))
dmin=(Math.floor(((dd%(60*60*1000*24))%(60*60*1000))/(60*1000)*1))
dsec=(Math.floor((((dd%(60*60*1000*24))%(60*60*1000))%(60*1000))/1000*1))
if(dday==0&&dhour==0&&dmin==0&&dsec==1){document.forms.countdowntimer.count2.value=current
return}
else{sdhour=dhour
sdsec=dsec
sdmin=dmin
if(dhour<=9)sdhour="0"+dhour
if(dsec<=9)sdsec="0"+dsec
if(dmin<=9)sdmin="0"+dmin
document.forms.countdowntimer.count2.value=" "+dday+"   "+sdhour+":"+sdmin+":"+(sdsec)
document.forms.countdowntimer.count3.value=" Days      Hours:Minutes:Secs"}
setTimeout("countdown(theyear,themonth,theday)",1000)}
var ns=(navigator.appName.indexOf("Netscape")!=-1);var d=document;function JSFX_FloatDiv(id,sx,sy)
{var el=d.getElementById?d.getElementById(id):d.all?d.all[id]:d.layers[id];var px=document.layers?"":"px";window[id+"_obj"]=el;if(d.layers)el.style=el;el.cx=el.sx=sx;el.cy=el.sy=sy;el.sP=function(x,y){this.style.left=x+px;this.style.top=y+px;};el.floatIt=function()
{var pX,pY;pX=(this.sx>=0)?0:ns?innerWidth:document.documentElement&&document.documentElement.clientWidth?document.documentElement.clientWidth:document.body.clientWidth;pY=ns?pageYOffset:document.documentElement&&document.documentElement.scrollTop?document.documentElement.scrollTop:document.body.scrollTop;if(this.sy<0)
pY+=ns?innerHeight:document.documentElement&&document.documentElement.clientHeight?document.documentElement.clientHeight:document.body.clientHeight;this.cx+=(pX+this.sx-this.cx)/8;this.cy+=(pY+this.sy-this.cy)/8;this.sP(this.cx,this.cy);setTimeout(this.id+"_obj.floatIt()",30);}
return el;}
JSFX_FloatDiv("divTopLeft",10,10).floatIt();var ytplayer_playlist=[];var ytplayer_playlist_desc=[];var ytplayer_playitem=0;function ytplayer_render_player()
{swfobject.embedSWF
('http://www.youtube.com/v/'+ytplayer_playlist[ytplayer_playitem]+'&amp;enablejsapi=1&amp;rel=0&amp;fs=1','main_feat_vid','383','240','8',null,null,{allowScriptAccess:'always',allowFullScreen:'true'},{id:'ytplayer_object'});}
function ytplayer_render_playlist()
{for(var i=0;i<ytplayer_playlist.length;i++)
{var img=document.createElement("img");img.src="http://img.youtube.com/vi/"+ytplayer_playlist[i]+"/default.jpg";var a=document.createElement("a");a.onclick=(function(j)
{return function()
{ytplayer_playitem=j;ytplayer_playlazy(500);};})(i);a.appendChild(img);a.title=ytplayer_playlist_desc[i];document.getElementById("mmavail").appendChild(a);}}
function ytplayer_playlazy(delay)
{if(typeof ytplayer_playlazy.timeoutid!='undefined')
{window.clearTimeout(ytplayer_playlazy.timeoutid);}
ytplayer_playlazy.timeoutid=window.setTimeout(ytplayer_play,delay);}
function ytplayer_play()
{var o=document.getElementById('ytplayer_object');if(o)
{o.loadVideoById(ytplayer_playlist[ytplayer_playitem]);}}
function onYouTubePlayerReady(playerid)
{var o=document.getElementById('ytplayer_object');if(o)
{o.addEventListener("onStateChange","ytplayer_statechange");o.addEventListener("onError","ytplayer_error");}}
function ytplayer_statechange(state)
{if(state==0)
{ytplayer_playitem+=1;ytplayer_playitem%=ytplayer_playlist.length;ytplayer_playlazy(5000);}}
function ytplayer_error(error)
{if(error)
{ytplayer_playitem+=1;ytplayer_playitem%=ytplayer_playlist.length;ytplayer_playlazy(5000);}}
function ytplayer_start()
{swfobject.addLoadEvent(ytplayer_render_player);swfobject.addLoadEvent(ytplayer_render_playlist);ytplayer_playlist.push('YdOnsx8RMYk');ytplayer_playlist_desc.push('multiblocks trailer 1');ytplayer_playlist.push('Yqk2dvxJQJE');ytplayer_playlist_desc.push('multiplayer versus mode');ytplayer_playlist.push('k0YxyX7tpNU');ytplayer_playlist_desc.push('multiplayer one board cooperative');ytplayer_playlist.push('T22-9hi1iyQ');ytplayer_playlist_desc.push('deepdrop gameplay comparison');}
function fbs_click(link,desc){if(link){u=link;}else{u=location.href;}if(desc)t=desc;else t=document.title;window.open('http://www.facebook.com/sharer.php?u='+encodeURIComponent(u)+'&amp;t='+encodeURIComponent(t),'sharer','toolbar=0,status=0,width=626,height=436');return false;}
function footer(social,tg)
{var v="";v+="<div class=\"footer1\">";v+="<p id=\"footer_env\"><\/p>";v+="<a href=\"Send_Suggestion.html\" class = \"Tips1\" title=\"Suggestion :: If You want to share yours idea considering multiblocks.\">Suggestion<\/a><br \/>";v+="<a href=\"Send_Problem.html\"    class = \"Tips1\" title=\"Report problem :: Contact immidietly if You have some trouble with game or webpage.\">Problem<\/a><br \/>";v+="<a href=\"Send_Press.html\"      class = \"Tips1\" title=\"Press :: If You are jurnalist or bloger and want to review multiblocks there is special offer for you.\">Press<\/a><br \/>";v+="<a href=\"Send_Advertise.html\"  class = \"Tips1\" title=\"Advertise :: Help provide free online services for all.\">Advertise<\/a>";v+="<\/div>";v+="<div class=\"footer12\">";v+="<p id=\"footer_env2\"><\/p>";v+="<a href=\"Privacy-Policy.html\" class = \"Tips1\" title=\"Privacy policy :: \">Privacy<\/a><br \/>";v+="<a href=\"About.html\"   class = \"Tips1\" title=\"About :: \">About<\/a><br \/>";v+="<a href=\"SiteMap.html\" class = \"Tips1\" title=\"SiteMap :: \">SiteMap<\/a><br \/>";v+="<a href=\"Multiblocks-Reviews_and_Awards.html\" class = \"Tips1\" title=\"Reviews and awards :: \">Reviews & &nbsp;Awards<\/a><br \/>";v+="<\/div>";if(social==1){v+="<div id=\"footer2ru\">";v+="<div class=\"footsoc2\" >";v+="<ul >";v+="<li id=\"soc_108\" class=\"Tips1\" title=\"help spread the news :: inform your friends\"><br \/>more players more fun invite others - share<\/li>";v+="<li id=\"soc_1\">";v+="<a href=\"http:\/\/twitter.com\/home?status=%23multiblocks2+9+PC+games+powered+by+twitter+http%3A%2F%2Fwww.multiblocks.com\"><img src=\""+tg+"\" alt=\"follow on twitter\" class=\"Tips1\" title=\"Twitter :: Tweet\"\/><\/a>";v+="<\/li>";v+="<li id=\"soc_2\" class=\"Tips1\" title=\"Facebook :: Post your activiti on the wall.\">";v+="<a  href=\"http:\/\/www.facebook.com\/share.php?u=http:\/\/www.multiblocks.com\" onclick=\"return fbs_click('www.multiblocks.com', 'multiblocks2 9 PC puzzle tetris like PC games powered by twitter and facebook')\" target=\"_blank\"><img src=\""+tg+"\" alt=\"facebook\"\/><\/a>";v+="<\/li>";v+="<li id=\"soc_3\" class=\"Tips1\" title=\"Digg :: Digg multiblocks.\">";v+="<a href=\"http:\/\/digg.com\/submit?url=multiblocks.com&amp;title=TITLE&amp;bodytext=DESCRIPTION&amp;media=MEDIA&amp;topic=TOPIC\"><img src=\""+tg+"\" alt=\"digg\"\/><\/a>";v+="<\/li>";v+="<li id=\"soc_4\" class=\"Tips1\" title=\"Stumbleupon :: Post your activiti.\">";v+="<a href=\"http:\/\/www.stumbleupon.com\/submit?url=http%3A%2F%2Fwww.multiblocks.com&amp;title%3DCheck+Out+Multiblocks2+http%3A%2F%2Fwww.multiblocks.com\"><img src=\""+tg+"\" alt=\"Stumble\"\/><\/a>";v+="<\/li>";v+="<li id=\"soc_5\"   class=\"Tips1\" title=\"Delicious :: Post your activiti.\">";v+="<a href=\"http:\/\/delicious.com\/save\" onclick=\"window.open('http:\/\/delicious.com\/save?v=5&amp;noui&amp;jump=close&amp;url='+encodeURIComponent('http:\/\/www.multiblocks.com')+'&amp;title='+encodeURIComponent(document.title), 'delicious','toolbar=no,width=550,height=550'); return false;\"><img src=\""+tg+"\" alt=\"Delicious\" \/><\/a>";v+="<\/li>";v+="<li id=\"soc_6\" class=\"Tips1\" title=\"Reddit :: Post your activiti.\">";v+="<a href=\"http:\/\/www.reddit.com\/submit\" onclick=\"window.location = 'http:\/\/www.reddit.com\/submit?url=' + encodeURIComponent('http:\/\/www.multiblocks.com'); return false\" target=\"_blank\"><img src=\""+tg+"\" alt=\"submit to reddit\" \/><\/a>";v+="<\/li>";v+="<\/ul>       ";v+="<\/div>";v+="<\/div>";v+="<div id=\"footer2r\">";v+="<div class=\"footsoc\" >";v+="<ul >";v+="<li id=\"soc_12\">";v+="<a href=\"http:\/\/www.twitter.com\/multiblocks\" class=\"Tips1\" title=\"Twitter :: Follow multiblocks\">";v+="<img src=\""+tg+"\" height=\"16\" width=\"70\" alt=\"Twitter\" \/>";v+="<\/a>";v+="<\/li>";v+="<li id=\"soc_8\">";v+="<a href=\"http:\/\/www.facebook.com\/pages\/multiblocks\/73647669615\" class=\"Tips1\" title=\"Facebook :: Be a fan\">";v+="<img src=\""+tg+"\" height=\"16\" width=\"90\" alt=\"Facebook\" \/>";v+="<\/a>";v+="<\/li>";v+="<li id=\"soc_9\">";v+="<a href=\"http:\/\/www.myspace.com\/multiblocks\" class=\"Tips1\" title=\"Myspace :: Share with others.\">";v+="<img src=\""+tg+"\" height=\"16\" width=\"110\" alt=\"Myspace\" \/>";v+="<\/a>";v+="<\/li>";v+="<li id=\"soc_13\">";v+="<a href=\"Additional_Free_Game.html\" class=\"Tips1\" title=\"Additional free game:-) :: Multiblocks have one additional free game for all friends, folowers, fans.\">";v+="<img src=\""+tg+"\" height=\"16\" width=\"100\" alt=\"Additional free game\" \/>";v+="<\/a>";v+="<\/li>";v+="<\/ul>";v+="<\/div>";v+="<\/div>";}
document.getElementById('footer').innerHTML=v;v="";v+=" <a target=\"_top\" href=\"http:\/\/www.zerodoso.com\" style=\"text-shadow: 0.45em 0.45em 0.5em black;\">&#169; 2009 all rights reserved created by zerodoso<br \/><\/a>";document.getElementById('footer3').innerHTML=v;}
function LogNot()
{var v="";v+="<form name = \"login\" action=\"\" method=\"post\" class = \"Tips1\" title=\"Login &amp; get GOLD version FREE:: Use your name from multiblocks game\">";v+="<label >";v+="&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Player name:";v+="<input type=\"text\"  class = \"player_log_b1 ba7\" name=\"user\" maxlength=\"20\" \/>";v+="<\/label>";v+="<label style=\"margin-left:4px;\">Password:<input type=\"password\"  class = \"player_log_b1 ba5\"  name=\"pass\" maxlength=\"20\" \/>";v+="<\/label>";v+="<label style=\"margin-left:4px;padding-right:10px\">";v+="Remember:";v+="<input type=\"checkbox\"  name=\"remember\" checked=\"checked\" \/>";v+="<\/label>";v+="<label>";v+="<input type=\"submit\"  name=\"sublogin\" class = \"player_log_b1 ba6\" style=\"padding:0;\" value=\"&nbsp;&nbsp;&nbsp;&nbsp;Login&nbsp;&nbsp;&nbsp;&nbsp;\" \/>";v+="<\/label>";v+="<label>&nbsp;&nbsp;<\/label> ";v+="<\/form>";document.getElementById('player_log').innerHTML=v;}
function LogOk(uid,uname,uico,cname,cid,tid,tname,tmemb,tico,emailconf,friends,msg,invited,wantobe,data_dir,files_dir)
{var v="";v+="<div class=\"Tips1\" title=\"Friends "+friends+" :: Invited "+invited+" Want to be yours "+wantobe+"\" ><a id =\"logfr\" href=\"Community.Account_Settings.Friends.html\">"+friends+"\/"+invited+"\/"+wantobe+"<\/a><\/div>";v+="<div class=\"Tips1\" title=\"Messages "+msg+"::\"><a id =\"logmsg\" href=\"Community.Account_Settings.Messages.html\">&nbsp;&nbsp;"+msg+"&nbsp;&nbsp;<\/a><\/div>";v+="<div class=\"Tips1\" title=\"Add twitter to multiblocks :: Compete against friends and followers\"><a id =\"logtw\" href=\"Community.Social_Networks.Twitter.Connect.html\"><\/a><\/div>";v+="<div class=\"Tips1\" title=\"Add facebook to multiblocks :: Compete against friends\"><a id =\"logfb\" href=\"Community.Social_Networks.Facebook.Connect.html\"><\/a><\/div>";v+="<form name = \"logged\" action=\"\" method=\"post\" style=\"float:right;\">";if(emailconf==0){v+="<label><a style=\"font-size:15px;padding:0;margin-right:5px;text-decoration:underline;\" href=\"Community.Account_Settings.Config.html\">Email - not confirmed!<\/a><\/label>";}
var pll="Player."+uid+".html";var plt="Team."+tid+".html";var plc="Country."+cid+".html";v+="<label class=\"Tips1\" title=\"Player:: "+uname+"\"><a href=\""+pll+"\"><img src=\""+data_dir+"small\/u"+uico+".jpg\" alt=\"\" width=\"32\" height=\"32\" border=\"0\"\/><\/a><\/label>";v+="<label class=\"Tips1\" title=\"Team "+tname+" :: Members "+tmemb+"\"><a href=\""+plt+"\"><img src=\""+data_dir+"small\/t"+tico+".jpg\"  alt=\"\"  width=\"32\" height=\"32\" border=\"0\"\/><\/a><\/label>";v+="<label class=\"Tips1\" title=\"Country::"+cname+"\"><a href=\""+plc+"\"><img src=\""+files_dir+"flags\/"+cid+".jpg\" alt=\"\"  width=\"32\" height=\"32\" border=\"0\"\/><\/a><\/label>";v+="<input type=\"submit\" name=\"config\"    class=\"player_log_b1 ba5\" style=\"padding:0;margin-left:5px;width:70px;\" value=\"&nbsp;Config&nbsp;\"  \/>";v+="<input type=\"submit\" name=\"sublogout\" class=\"player_log_b1 ba1\" style=\"padding:0;margin-left:5px;width:60px;\" value=\"Logout\"  \/>";v+="<label>&nbsp;&nbsp;<\/label> ";v+=" <\/form>";document.getElementById('player_log').innerHTML=v;}
function TopDiv()
{var v="";v+="<div id=\"divTopLeft_inf\"><a class=\"Tips1\" title=\"Learn more about :: how to use multiblocks with twitter or facebbok\" href=\"Community.Social_Networks.Twitter.Info.html\">INFO<\/a><\/div>";v+="<div id=\"divTopLeft_tweet\">inform your friends<br \/>";v+="<\/div>";document.getElementById('divTopLeft1').innerHTML=v;v="<div class=\"dbuTw\"><a class=\"Tips1\" title=\"Connect with Twitter :: Compare your scores with friends and followers\" href=\"Community.Social_Networks.Twitter.Connect.html\">Add Twitter<\/a><\/div>";v+="<div class=\"dbuFb\"><a class=\"Tips1\" title=\"Connect with Facebook :: Compare your scores with friends\" href=\"Community.Social_Networks.Facebook.Connect.html\">Add Facebook<\/a><\/div>";document.getElementById('divTopLeft2').innerHTML=v;}
function UpBlocks(tg,smain)
{var wh=" width=\"80\" height=\"70\" ";var at="alt=\"\" class=\"Tips1\" title=\"";var v="";v+="<div id=\"header\">";v+="  <div id=\"header_bcg\">";v+="   <div id=\"head_nav_all\">";v+="<div class=\"nav_up\"><a class=\"focol1\" href=\""+smain+"\"><img src=\""+tg+"\""+wh+"";v+=""+at+"Home ::  \" \/><br\/>Home<\/a><\/div><div class=\"nav_up\"><a class=\"focol2\" href=\"Gallery.html\"><img src=\""+tg+"\""+wh+"";v+=""+at+"Gallery :: videos and pictures from the games \" \/><br\/>Gallery<\/a><\/div><div class=\"nav_up\"><a class=\"focol3\" href=\"Extras.Wallpapers.For_iPhone.html\"><img src=\""+tg+"\""+wh+"";v+=""+at+"Wallpapers and Music :: everything here is FREE \" \/><br\/>Extras<\/a><\/div><div class=\"nav_up\"><a class=\"focol4\" href=\"Upgrade.html\"><img src=\""+tg+"\""+wh+"";v+=""+at+"Buy Green or Gold version :: adjust multiblocks to your needs \" \/><br\/>Buy<\/a><\/div><div class=\"nav_up\"><a class=\"focol5\" href=\"Download.html\"><img src=\""+tg+"\""+wh+"";v+=""+at+"Download :: Game Download \" \/><br\/>Download<\/a><\/div><div class=\"nav_up\"><a class=\"focol6\" href=\"Info.html\"><img src=\""+tg+"\""+wh+"";v+=""+at+"Info :: detailed information frequently asked questions <br \/>tips and tricks \" \/><br\/>Info<\/a><\/div><div class=\"nav_up\"><a class=\"focol7\" href=\"Community.html\"><img src=\""+tg+"\""+wh+"";v+=""+at+"Community :: Connect and compete with your friends easily \" \/><br\/>Community<\/a><\/div><div class=\"nav_up\"><a class=\"focol8\" href=\"Highscores.3.0.0.0.html\"><img src=\""+tg+"\""+wh+"";v+=""+at+"High Scores :: Your results from various perspective  \" \/><br\/>High Scores<\/a><\/div>";v+="   <\/div>";v+="  <\/div>";v+="  <div class=\"clean\"><\/div>";v+=" <\/div> ";v+="";document.getElementById('header_cont').innerHTML=v;}