var emba_randomnumber=Math.floor(Math.random()*10001);var emba_host="http://www.embedanything.com";var emba_js_host="http://js.embedanything.com";var emba_widget_host="http://widget.embedanything.com";window["emba_copy_num"]=emba_randomnumber;if(typeof(embaURL)!='undefined'){window[window["emba_copy_num"]+"_url"]=embaURL;} if(typeof(embaPub)!='undefined'){window[window["emba_copy_num"]+"_pub"]=embaPub;} if(typeof(embaWordLength)!='undefined'){window[window["emba_copy_num"]+"_wordlength"]=embaWordLength;}else{window[window["emba_copy_num"]+"_wordlength"]=15;} addEventSimple(document.getElementsByTagName('body')[0],'copy',"saveCopy");function saveCopy(){var embaTxt=getSelectionHTML().toString();var embaHash=SHA1(embaTxt);if(stripHTML(embaTxt).split(" ").length>window[window["emba_copy_num"]+"_wordlength"]){embaSplitText(embaTxt,embaHash);}} function stripHTML(content){var matchTag=/<(?:.|\s)*?>/g;return content.replace(matchTag,"");} function embaSplitText(embaTxt,embaHash){var start=0;var pos=0;while(embaTxt.slice(start,start+500)!=""){var img=new Image(0,0) img.name='embaSnipParts';img.src=emba_host+"/article/snip_part?pos="+pos+"&code="+embaHash+"&text="+encodeURIComponent(embaTxt.slice(start,start+500));document.getElementsByTagName('body')[0].appendChild(img);start+=500;pos+=1;} embaCPShowDialog(embaHash);} function addEventSimple(obj,evt,fn){if(obj.addEventListener) obj.addEventListener(evt,eval(fn),false);else if(obj.attachEvent) obj.attachEvent('on'+evt,eval(fn));} function getSelText(){var txt='';if(window.getSelection){txt=window.getSelection();}else if(document.getSelection){txt=document.getSelection();}else if(document.selection){txt=document.selection.createRange()}else return;return txt.getRangeAt(0);} getSelectionHTML=function(){var userSelection;if(window.getSelection){userSelection=window.getSelection();if(userSelection.getRangeAt) var range=userSelection.getRangeAt(0);else{var range=document.createRange();range.setStart(userSelection.anchorNode,userSelection.anchorOffset);range.setEnd(userSelection.focusNode,userSelection.focusOffset);} var clonedSelection=range.cloneContents();var div=document.createElement('div');div.appendChild(clonedSelection);return div.innerHTML;}else if(document.selection){userSelection=document.selection.createRange();return userSelection.htmlText;}else{return'';}};function embaGetURL(link_random){if(typeof(window[link_random+"_url"])=='undefined'){return window.location.href;}else{return window[link_random+"_url"];}} function embaGetPub(link_random){if(typeof(window[link_random+"_pub"])=='undefined'){return"";}else{return"pub="+window[link_random+"_pub"]+"&";}} function embaCPShowDialog(embaTxt){var link_random=window["emba_copy_num"] if(document.getElementById('emba_light_'+link_random).style.display=='none'){var embaElements=document.getElementsByName('emba_white_content');var i=0;while(i>>(32-s));return t4;};function lsb_hex(val){var str="";var i;var vh;var vl;for(i=0;i<=6;i+=2){vh=(val>>>(i*4+4))&0x0f;vl=(val>>>(i*4))&0x0f;str+=vh.toString(16)+vl.toString(16);} return str;};function cvt_hex(val){var str="";var i;var v;for(i=7;i>=0;i--){v=(val>>>(i*4))&0x0f;str+=v.toString(16);} return str;};function Utf8Encode(string){string=string.replace(/\r\n/g,"\n");var utftext="";for(var n=0;n127)&&(c<2048)){utftext+=String.fromCharCode((c>>6)|192);utftext+=String.fromCharCode((c&63)|128);} else{utftext+=String.fromCharCode((c>>12)|224);utftext+=String.fromCharCode(((c>>6)&63)|128);utftext+=String.fromCharCode((c&63)|128);}} return utftext;};var blockstart;var i,j;var W=new Array(80);var H0=0x67452301;var H1=0xEFCDAB89;var H2=0x98BADCFE;var H3=0x10325476;var H4=0xC3D2E1F0;var A,B,C,D,E;var temp;msg=Utf8Encode(msg);var msg_len=msg.length;var word_array=new Array();for(i=0;i>>29);word_array.push((msg_len<<3)&0x0ffffffff);for(blockstart=0;blockstart");document.write(".embafacebox { position: absolute; top: 0; left: 0; z-index: 100; text-align: left; font: 12px Arial, Helvetica, sans-serif; } .embafacebox .emba_popup { position: relative; } .embafacebox table { border-collapse: collapse; } .embafacebox td { border-bottom: 0; padding: 0; } .embafacebox .emba_body { background: #E5E5E5; width: 390px; } .embafacebox .loading { text-align: center; } .embafacebox .image { text-align: center; } .embafacebox img { border: 0; margin: 0; } .embafacebox .embafooter { background-color:#E5E5E5; padding: 5px 5px 5px 0; margin-top: -7px; text-align: right; } .embafacebox .embatl, .embafacebox .embatr, .embafacebox .embabl, .embafacebox .embabr, .embafacebox .embab { height: 0; min-height:0; width: 0; overflow: hidden; padding: 0; } .facebox_hide { z-index:-100; } .embafacebox_overlayBG {position: fixed; top: 0px; left: 0px; height:100%; width:100%; background-color: #000; z-index: 1000; opacity:0.6; filter:alpha(opacity=60); } * html .embafacebox_overlayBG { /* ie6 hack */ position: absolute; height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px'); }") document.write(".embafacebox { position: fixed; top:50%; left:50%; margin-left:-190px; margin-top:-120px; z-index:1001; width: 390px; }") document.write(".embafacebox .embafooter a.emba_close{ color:#FFF; text-decoration: none; margin: 2px; margin-bottom: 5px; padding:2px; border-top:1px solid #8194BD; border-left:1px solid #8194BD; border-bottom:1px solid #0E1F5B; border-right:1px solid #0E1F5B; background-color: #6079AB;}") document.write(".embafacebox .embafooter a.emba_close:visited{ color:#FFF; text-decoration: none;}") document.write("* html body {height: 100%;}");document.write("* html .embafacebox_overlayBG {position:absolute; top: expression( ( 0 + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop ) ) + 'px' );}");document.write("* html .embafacebox { position: absolute; _margin-left:-180px; _margin-top:-155px; _padding: 2px; _background-color: #E5E5E5; top: expression( ( 250 + ( ignoreMe2 = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop ) ) + 'px' );}");document.write("");document.write("
");document.write("
");document.write("
");document.write(" ");document.write(" ");document.write(" ");document.write(" ");document.write(" ");document.write(" ");document.write("
");document.write("
");document.write(" ");document.write(" ");document.write("
");document.write("
");document.write(" No? Then click here to Close");document.write("
");document.write("
");document.write("
");document.write("
");