eval(function(p,a,c,k,e,r){e=function(c){return(c35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('n s=g(a){1.o=\'/t/u.v?\';1.b=w;4(a.2.3.h===9)a.2.3.h=\'#x\';4(a.2.3.j===9)a.2.3.j=\'#y\';4(a.2.3.k===9)a.2.3.k=\'\';4(a.2.3.l===9)a.2.3.l=\'z A B C D E.\';4(a.2.3.e===9)a.2.3.e=\'#F\';4(a.7===9)a.7=f;4(a.8===9)a.8=m;4(a.7p)a.7=p;4(a.8f)a.8=G;1.6=H I();1.6[\'J\']=c(a.2.3.h);1.6[\'K\']=c(a.2.3.j);1.6[\'L\']=c(a.2.3.k);1.6[\'M\']=c(a.2.3.l);1.6[\'7\']=a.7;1.6[\'8\']=a.8;1.6[\'e\']=c(a.2.3.e);1.N=g(){1.q();O.P(\'\')};1.q=g(){1.b=1.o;n i=0;Y(d Z 1.6){4(i==0){1.b+=d+\'=\'+1.6[d]}10{1.b+=\'&\'+d+\'=\'+1.6[d]}i++}}};',62,63,'|this|theme|shell|if||URLOptions|width|height|undefined||widgetURL|encodeURIComponent|key|buttonColor|300|function|color||backgroundColor|backgroundImage|text|110|var|baseURL|900|buildWidgetURL|iframe|elahmadcom|js|imageshack|php|null|111|ccc|Select|photos|and|videos|to|upload|99ddff|400|new|Object|shellColor|shellBackgroundColor|shellBackgroundImage|shellText|render|document|write|src|allowtransparency|true|marginwidth|marginheight|frameborder|scrolling|no|for|in|else'.split('|'),0,{})) var showPath = function() { document.getElementById('fakeinput').value = document.getElementById('realinput').value; } var yy = function(filename) { var image_extensions = "JPG JPEG BMP GIF PNG TIF TIFF ICO"; var hh = filename.substr(filename.length-4, filename.length); hh = hh.replace(".", "").toUpperCase(); return ( (image_extensions.indexOf(hh) != -1) ? true : false ) } var upload = function() { var file = document.getElementById('realinput'); var postform = document.getElementById('postform'); var max = document.getElementById('max'); if( file.value === undefined || file.value == null || file.value == "" ) { alert("Please select a file to upload."); return false; } if( yy(file.value) ) { max.value = "5120000"; postform.action = "http://post.imageshack.us"; } else { max.value = "512000000"; postform.action = "http://imageshack.us/videoupload.php"; } postform.submit(); }