<h4>load template error:in /home/ephotobay/inc/parser_loader.php in line 116 template file'js/'not found in'/home/ephotobay/tpl'or permission denied</h4>function obi(objn){return document.getElementById(objn);}
function showhide(id){obj=obi(id);obj.style.display=(obj.style.display=="none")?"":"none";}
function show(id){obi(id).style.display="";}
function hide(id){obi(id).style.display="none";}
function sel_txt(obj){obj.focus();obj.select();}
function str_replace(needle,replacement,haystack){var temp=haystack.split(needle);return temp.join(replacement);}
$(document).ready(function(){$(".wtooltip").tooltip({effect:'fade'});$("ul.tabs").tabs("div.panes > div"),{effect:'fade',fadeoutSpeed:400};$("#snewgal").click(function(){$(this).parent().after('<div id="newgal"><input type="text" name="galname" style="width:75%" /><a href="#">Cancel</a></div>');$(this).parent().css('display','none');$("#newgal > a").click(function(){$("#snewgal").parent().css('display','block');$(this).parent().remove();return false;});return false;});$('#upload').click(function(){if($('#fileInput').length!=0)
{try{$('#fileInput').uploadifyUpload();$(this).attr('disabled',true);setTimeout("$('#upload').val('Uploading... Click Again To Cancel').attr('disabled',false);",500);}catch(e){$('#frx').submit();}
return false;}});$('#frx').submit(function(e){$('body').after("<div style='z-index:999;top:0;left:0;position:absolute;width:100%;height:"+document.body.offsetHeight+"px;text-align:center;opacity:.7;background:white;'><img style='margin-top:"+getScrollY()+"px' src='http://static.ephotobay.com/gr/ajax-loader.gif' alt='Uploading' /><br /><br /><h2>Please wait while uploading files..<br /><b>Do not refresh and/or close the window while you see the flashing circle</h2></div>");return true;});});function getScrollY(){var scrOfY=0;if(typeof(window.pageYOffset)=='number'){scrOfY=window.pageYOffset;}else if(document.body&&(document.body.scrollLeft||document.body.scrollTop)){scrOfY=document.body.scrollTop;}else if(document.documentElement&&(document.documentElement.scrollLeft||document.documentElement.scrollTop)){scrOfY=document.documentElement.scrollTop;}
return scrOfY;}
