bplist00_WebSubresources_WebMainResource_ "&*.26:>BFJNRV[`dhlptx|  !%)-159=AEIMQUY]aeimqu| _WebResourceResponse_WebResourceData^WebResourceURL_WebResourceMIMETypeObplist00 Y$archiverX$versionT$topX$objects_NSKeyedArchiver _WebResourceResponse )/078?ISZNS.objectsWNS.keys@ABCDEFGHJKLMNOPQR VServer]Last-Modified]Accept-RangesZConnectionTDate^Content-LengthZKeep-AliveTEtag\Content-Type_Apache/1.3.41 (Unix) Resin/2.1.13 mod_fastcgi/2.4.6 Sun-ONE-ASP/4.0.2 mod_log_bytes/1.2 mod_bwlimited/1.4 mod_auth_passthrough/1.8 FrontPage/5.0.2.2635 mod_ssl/2.8.31 OpenSSL/0.9.7a_Wed, 12 Nov 2008 04:58:50 GMTUbytes_Wed, 25 Feb 2009 01:54:19 GMTU15376_timeout=15, max=100_"46e00a8-3c10-491a628a"12effg6_NSMutableDictionary\NSDictionary12ijj6_NSHTTPURLResponseInternal12lmmn6_NSHTTPURLResponse]NSURLResponse$)2DILbd #/135V[dosy!&5@ER *0PVloO</* eppic.css */ /* Colors: dark blue green - #3a687b medium blue green - #5492ad light b/g - #85abbc very light b/g - #e3eaec dark yellow - #ff9c00 light yellow - #ffda9f */ body { background-color: #c0c0c0; margin: 10px; font-family: Arial,sans-serif; font-size: 10pt; text-align: center; } #mid { width: 950px; /* height: 950px; */ margin-left: auto; margin-right: auto; position: relative; text-align: left; } /* #header { position: relative; background-image: url('./img/header.gif'); height: 150px; width: 950px; margin-bottom: 10px; } */ #header_top { position: relative; background-image: url('./img/header_top.gif'); height: 100px; width:950px; } #header_search { position: relative; background-image: url('./img/header_search.gif'); height: 29px; width:950px; } #search_bar { position: absolute; width: 937px; height: 29px; left: 10px; top: 0px; /* 111px */ color: #ff9c00; font-size: 9pt; font-weight: bold; } #page { position: absolute; background-color: #ffffff; top: 160px; /* 150px */ } #footer { position: relative; background-image: url('./img/footer.gif'); height: 35px; width: 950px; /* bottom: -35px; */ clear: left; } #logo { position: absolute; width: 309px; height: 56px; left: 11px; top: 10px; } #menu { position: absolute; width: 645px; height: 21px; right: 0px; top: 79px; } .menu_item { position: absolute; width: 128px; height: 20px; top: 1px; text-align: center; font-weight: bold; } #footer_left { position: relative; color: #ffffff; font-size: xx-small; left: 10px; top: 15px; clear: both; float: left; } #footer_right { position: relative; text-align: right; color: #ffffff; font-size: xx-small; right: 10px; top: 15px; float: right; } #featured_content { position: relative; height: 377px; width: 418px; /* background-color: #e7e7e7; */ background-color: #dee3e7; float: left; left: 12px; /* background-image: url('./img/alexgray.jpg'); */ } #top_portfolios_and_photographers { position: relative; width: 496px; height: 377px; background-image: url('./img/top_portfolios_and_photographers.gif'); right: 12px; float: right; } .top_pnp_item { position: relative; height: 68px; width: 223px; left: 16px; top: 29px; cursor: pointer; } .top_pnp_img { position: absolute; width: 78px; height: 52px; top: 4px; left: 5px; border: 1px solid white; } .top_pnp_img img { width: 78px; height: 52px; } .top_pnp_ranking { position: absolute; width: 125px; height: 15px; right: 5px; bottom: 5px; text-align: right; color: #3a687b; font-size: xx-small; } .top_pnp_view_more { position: absolute; width: 75px; height: 14px; top: 11px; left: 162px; color: #3a687b; text-align: right; font-size: xx-small; font-weight: bold; } .top_pnp_text { position: absolute; width: 126px; height: 36px; top: 4px; right: 7px; font-size: 8pt; font-weight: bold; color: #202020; } #newest_surf_sessions { position: relative; width: 496px; height: 200px; background-image: url('./img/newest_surf_sessions.gif'); margin-top: 10px; float: left; float: right; right: 12px; } #newest_ss_view_more { position: absolute; width: 75px; height: 14px; top: 12px; left: 403px; color: #3a687b; text-align: right; font-size: xx-small; font-weight: bold; } .newest_ss_item { position: relative; height: 53px; width: 230px; left: 16px; top: 29px; cursor: pointer; } .newest_ss_img { position: absolute; width: 56px; height: 40px; top: 6px; left: 5px; border: 1px solid white; } .newest_ss_text { position: absolute; width: 155px; height: 25px; top: 6px; right: 7px; font-size: 8pt; font-weight: bold; color: #202020; } .newest_ss_time_delta { position: absolute; width: 100px; height: 17px; left: 68px; bottom: 2px; color: #3a687b; font-size: xx-small; } .newest_ss_comments { position: absolute; width: 50px; height: 17px; right: 7px; bottom: 2px; text-align: right; color: #3a687b; font-size: xx-small; } #nbv { position: relative; background-image: url('./img/nbv_background.gif'); height: 466px; width: 418px; float: left; left: 12px; margin-top: 12px; } #nbv_rows { position: absolute; background-image: url('./img/nbv_rows.gif'); height: 396px; width: 378px; left: 20px; top: 31px; } #nbv_menu { position: relative; height: 18px; width: 394px; left: 12px; top: 7px; } .nbv_menu_item { position: relative; height: 18px; width: 130px; top: 0px; left: 0px; float: left; } #nbv_footer { position: absolute; width: 378px; height: 31px; left: 20px; bottom: 8px; } .nbv_footer_item { position: relative; width: 90px; height: 22px; top: 0px; float: left; } .nbv_footer_item_text { color: #3a687b; font-size: xx-small; font-weight: bold; } .nbv_blog_item { position: relative; width: 378px; height: 66px; /* font-size: xx-small; */ font-size: 11px; cursor: pointer; } #top_blogs { position: relative; background-image: url('./img/top_blogs.gif'); height: 123px; width: 496px; float: right; right: 12px; margin-top: 10px; } #top_blogs_view_more { position: absolute; width: 75px; height: 14px; top: 12px; left: 403px; color: #3a687b; text-align: right; font-size: xx-small; font-weight: bold; } .tbi_name,.tbi_title,.tbi_time { position: relative; height: 15px; left: 16px; top: 33px; font-size:xx-small; font-weight:bold; background-color: #ffffff; float: left; } .tbi_name { width: 127px; } .tbi_title { width: 261px; margin-left: 3px; } .tbi_time { width: 68px; margin-left: 3px; text-align: right; font-weight: normal; color: #3a687b; } #recent_portfolios { position: relative; background-image: url('./img/recent_portfolios.gif'); height: 123px; width: 244px; float: left; } .rp_name,.rp_time { position: relative; height: 15px; left: 16px; top: 33px; font-size: xx-small; font-weight: bold; float: left; background-color: #e7e7e7; /* cfd5d9 */ } .rp_name { width: 146px; } .rp_time { width: 70px; text-align: right; font-weight: normal; color: #3a687b; } #rp_view_more { position: absolute; width: 75px; height: 14px; top: 14px; left: 153px; color: #3a687b; text-align: right; font-size: xx-small; font-weight: bold; } #join { position: relative; /* background-image: url('./img/join.gif'); */ height: 123px; width: 242px; float: right; cursor: pointer; } /***/ #login { position: absolute; /*width: 250px; *//* 131 */ height: 79px; right: 0px; top: 0px; color: #ffffff; font-size: xx-small; } input.login { height: 18px; width: 113px; border: 1px solid black; margin-top: 7px; margin-right: 9px; font-size: xx-small; padding-left: 3px; padding-right: 3px; } #ad { position: absolute; width: 352px; height: 70px; top: 5px; left: 341px; } /***/ a:link { color: #3a687b; text-decoration: none; } a:visited { color: #3a687b; text-decoration: none; } a:active { color: #3a687b; text-decoration: none; } a:hover { text-decoration: underline; } a.white:link { color: #ffffff; text-decoration: none; } a.white:visited { color: #ffffff; text-decoration: none; } a.white:active { color: #ffffff; text-decoration: none; } a.white:hover { text-decoration: underline; } /***/ /* profile */ #profile_portfolio { position: relative; width: 600px; height: 400px; background-color: #eeeeee; /* background-color: #ffffff; */ /* background-color: #e7e7e7; */ /* background-color: #000000; */ float: left; margin-bottom: 11px; text-align: center; } #profile { position: relative; background-image: url('./img/profile.gif'); width: 311px; height: 269px; float: right; margin-bottom: 8px; } #profile_caption { position: relative; background-image: url('./img/profile_caption.gif'); width: 323px; height: 123px; float: right; margin-bottom: 11px; } #profile_sessions_photog { position: relative; /* background-image: url('./img/profile_sessions_photog.gif'); */ width: 600px; /* height: 165px; */ clear:both; float:left; margin-bottom: 11px; /* font-size: xx-small; */ font-size: 11px; } #profile_sessions_photog_edit { position: absolute; top: 14px; /* was 12 */ left: 72px; /* was 76 */ /* font-size: xx-small; */ } #profile_sessions_photog_view_all { position: absolute; top: 12px; right: 20px; /* font-size: xx-small; */ } #profile_favorites_surfer { position: relative; /* background-image: url('./img/profile_favorites_surfer.gif'); */ width: 600px; /* height: 165px; */ clear:both; float:left; margin-bottom: 11px; } #profile_sessions_surfer { position: relative; background-image: url('./img/profile_sessions_surfer.gif'); float: right; width: 311px; height: 165px; margin-bottom: 11px; } #profile_favorites_photog { position: relative; background-image: url('./img/profile_favorites_photog.gif'); float: right; width: 311px; height: 165px; margin-bottom: 11px; } #profile_blogs { position: relative; /* background-image: url('./img/profile_blogs.gif'); */ /* width: 923px; */ width: 600px; height: 370px; clear: both; /* font-size: xx-small; */ font-size: 11px; padding-bottom: 11px; float:left; } #profile_blogs_edit { position: absolute; top: 11px; left: 100px; } #profile_blogs_view_more { position: absolute; top: 12px; right: 16px; } .profile_blog_item { position: relative; /* width: 890px; */ height: 65px; cursor: pointer; } #profile_user_info { position: relative; left: 145px; top: 16px; width: 150px; height: 130px; } #profile_quote { position: absolute; width: 120px; height: 115px; top: 137px; left: 18px; color: #ffffff; font-weight: bold; /* border: 1px solid white; */ /* font-size: xx-small; */ } #profile_image { position: absolute; width: 120px; height: 120px; top: 17px; left: 18px; } #profile_buttons { position: absolute; width: 149px; /* height: 115px; /* 1 button = 23px */ bottom: 17px; right: 17px; } #profile_big_favorite_sessions { position:relative; top: 5px; /* was 14 */ left: -3px; /* position: absolute; top:29px; left: 14px; */ } .profile_big_favorite_session { position: relative; width: 100px; /* was 114 */ /* height: 120px; */ float: left; cursor: pointer; font-size: 11px; line-height: 12px; padding: 0px 7px 7px 7px; } .profile_big_favorite_session div { text-align: center; /* font-size: xx-small; */ font-weight: bold; /* padding: 10px;*/ padding: 5px 5px 5px 5px; } .profile_big_favorite_session img.white { border: 1px solid white; /* width: 78px; height: 58px; */ } #profile_small_favorite_sessions { position: absolute; top:26px; left: 10px; } .profile_small_favorite_session { position: relative; width: 95px; height: 62px; float: left; cursor: pointer; } .profile_small_favorite_session div { text-align: center; margin: 5px; } .profile_small_favorite_session img { border: 1px solid white; } #profile_comments { float: left; position: relative; width: 600px; } .profile_comment { width:100%; background-color: #c9d4db; /* #d7dfe4 */ height: 66px; font-size: 11px; /* cursor: pointer; */ } #profile_ad { float: left; margin-left: 15px; text-align: center; } /***/ table { font-size: 100%; border-collapse: collapse; } td { padding: 0px; background-repeat:no-repeat; } #user_table { border: 1px solid #3a687b; } #user_table th { /* text-align: left; */ padding: 3px; color: #ffffff; background-color: #3a687b; } #user_table th a { color: #ffffff; } #user_table td { padding: 3px; text-align: center; } #user_table tr.shaded { background-color: #e3eaec; } #user_table tr.unread { background-color: #5492ad; color: #ffffff; } #user_table tr.unread a { color: #ffffff; } #user_table tr.unread2 { background-color: #5492ad; color: #ffffff; } #user_table tr.unread2 a { color: #ffffff; text-decoration: underline; } /***/ #user_list { } .user_list_item { position: relative; background-color:#c3d4df; /* #e3eaec; */ height: 54px; width: 294px; float:left; margin: 1px; padding: 2px; } /***/ #portfolio_empty { position: absolute; width: 186px; height: 68px; top: 150px; /* 166px */ left: 207px; } #gallery_thumbs { position: absolute; width: 600px; /* height: 68px; */ height: 400px; /* top:3px; */ left: 0px; bottom: 0px; /* background-color: #000000; */ /* display: none; *//* the thumbs are hidden by default */ display: block; text-align: center; opacity: 1.0; filter: alpha(opacity=100); } #gallery_thumbs img { border: 1px white solid; margin-top: 2px; /* 7 */ margin-left: 1px; /* 3 */ margin-right: 1px; /* 3 */ cursor: pointer; } /* */ #edit_portfolio { margin-left: 10px; } #edit_portfolio table { border: 1px solid #3a687b; } #edit_portfolio th { padding: 3px; color: #ffffff; background-color: #3a687b; padding-left: 10px; padding-right: 10px; } #edit_portfolio td { padding-left: 10px; padding-right: 10px; text-align: center; border: 1px solid #e3eaec; } #edit_portfolio tr.shaded { background-color: #e3eaec; } #edit_portfolio_image { text-align: center; } #edit_portfolio_image input { border: 1px solid #808080; text-align:center; padding: 1px; } #edit_portfolio_image input.left { text-align: left; } #edit_portfolio_image td { /* text-align: center; */ } /***/ #caption_inner { position: absolute; top: 10px; left: 25px; width: 283px; height: 99px; } #caption_location { position: relative; font-weight: bold; } #caption_date { position: relative; font-size: xx-small; } #caption_desc { position: relative; top: 5px; font-size: xx-small; } /* #caption_purchase { position: absolute; width: 177px; height: 22px; left: 0px; bottom: 0px; } #caption_view_session { position: absolute; width: 100px; height: 18px; right: 5px; bottom: 0px; font-size: xx-small; text-align: right; } */ #caption_links { bottom:0px; right:0px; position:absolute; font-size:xx-small; text-align:right; } img.border { border: 1px solid white; } .comment { width: 100%; background-color: #c3d4df; /* e3eaec */ padding: 2px; } /***/ #edit_profile { margin-left: 10px; } .edit_profile_form { float: left; font-size: 11px; } #edit_profile input { font-size: 11px; } #edit_profile select { font-size: 11px; } #edit_profile td { padding: 1px; } /***/ #premium_member { position: absolute; bottom: 0px; right: 0px; opacity: 0.75; filter: alpha(opacity=75); } /***/ #session_image_div { background-color:#ffffff; width:600; height:400; } #session_info { height: 165px; width: 310px; } #pm_view { width: 930px; } #pm_view td { padding:2px; } .pm_user { background-color: #e0e0e0; } .pm_subject { background-color: #e8e8e8; } .pm_body { background-color: #f0f0f0; } /***/ #protected_image_div { position:relative; background-color:#eeeeee; width:600px; height:400px; text-align:center; float:left; } /***/ table.blob { border-collapse: collapse; } table.blob td { padding: 0px; margin: 0px; background-repeat: repeat; } input.gallery { border: none; background-color: #5d94ae; color: #ffffff; cursor: pointer; font-size: 9pt; font-weight: bold; padding: 1px 3px 1px 3px; } input.orange { background-color: #ff7c00; } a.orange { color: #ff7c00; font-weight: bold; } table.potd,table.potd td,table.potd th { border: 1px solid grey; padding:5px; } table.potd td { width: 80px; height: 80px; vertical-align:top; }_http://eppicsurf.com/eppic.cssXtext/cssObplist00 Y$archiverX$versionT$topX$objects_NSKeyedArchiver _WebResourceResponse )/078?ISZNS.objectsWNS.keys@ABCDEFGHJKLMNOPQR VServer]Last-Modified]Accept-RangesZConnectionTDate^Content-LengthZKeep-AliveTEtag\Content-Type_Apache/1.3.41 (Unix) Resin/2.1.13 mod_fastcgi/2.4.6 Sun-ONE-ASP/4.0.2 mod_log_bytes/1.2 mod_bwlimited/1.4 mod_auth_passthrough/1.8 FrontPage/5.0.2.2635 mod_ssl/2.8.31 OpenSSL/0.9.7a_Sun, 04 Nov 2007 05:15:50 GMTUbytes_Wed, 25 Feb 2009 01:54:19 GMTU20920_timeout=15, max=100_"46e00a9-51b8-472d5586"12effg6_NSMutableDictionary\NSDictionary12ijj6_NSHTTPURLResponseInternal12lmmn6_NSHTTPURLResponse]NSURLResponse$)2DILbd #/135UZcnrx '27FQVc;Aag}oOQ// eppic.js // include other js files document.write(""); document.write(""); //document.write(""); document.write(""); document.write(""); //document.write(""); document.write(""); function PreLoadImages() { img11=new Image(); img12=new Image(); img13=new Image(); img14=new Image(); img11.src="./img/menu_photographers_hover.gif"; img12.src="./img/menu_surf_sessions_hover.gif"; img13.src="./img/menu_surfers_hover.gif"; img14.src="./img/menu_home_hover.gif"; img21=new Image(); img22=new Image(); img23=new Image(); img21.src="./img/nbv_menu_news_hover.gif"; img22.src="./img/nbv_menu_blogs_hover.gif"; img23.src="./img/nbv_menu_videos_hover.gif"; } function edit_focus(id) { var obj=document.getElementById(id); obj.style.backgroundImage=''; } function edit_blur(id) { var obj=document.getElementById(id); // Only put the background image back if there is no text in the edit if(obj.value.length == 0) { obj.style.backgroundImage='url("./img/'+id+'.gif")'; } } /*** function show_thumbs() { g_delay=0; var obj=document.getElementById('gallery_thumbs'); obj.style.display='block'; Animate('gallery_thumbs',100,0); } function hide_thumbs(delay) { if(delay != null) { g_delay=delay; } else { g_delay=0; } var obj=document.getElementById('gallery_thumbs'); // obj.style.display='none'; Animate('gallery_thumbs',0,100); } ***/ /*** function view_portfolio_image(img,path,width,height,loc,date,desc,id,session_id,session_user,session_user_name,user,self,comments,admin) { var obj=document.getElementById('portfolio_image'); obj.style.marginTop=Math.floor((400-height)/2); // kludge to make the damn pic centered vertically obj.src="img.php?src="+path+img; obj.width=width; obj.height=height; var _loc=document.getElementById('caption_location'); var _date=document.getElementById('caption_date'); var _desc=document.getElementById('caption_desc'); _loc.innerHTML=loc; _date.innerHTML=date; _desc.innerHTML=desc; // If there is a session_user if(session_user.length > 0) { _date.innerHTML+=" - Photo by "+session_user_name+""; } // Fill in missing info if(loc.length == 0) { _loc.innerHTML="Unknown"; } if(date.length == 0) { _date.innerHTML="Unknown"; } // Set the caption links var _links=document.getElementById('caption_links'); var str=""; // If admin, add feature link if(admin == 1) { str+="Feature > "; } if(session_id != "") // if this is a session photo, be able to buy prints or license it { // *&* TEMP KLUDGE // if(self == 'thezonie' || self == 'Branimir' || self == 'jmairs') // { str+="Purchase Print > License Image >
"; // } // else // { // str+="Purchase Print > License Image >
"; // } if(self != "" && self != user) // if this is not my portfolio, be able to add it to my portfolio { // alert(self+" "+user); str+="Add to Portfolio > "; } } str+="Link > "; str+="Share >
"; if(self != "") // if logged in, be able to blog { str+="Blog > "; } str+="Comments ("+comments+") > "; if(session_id != "") // if this is a session photo, see the whole session { str+="View Session >"; } _links.innerHTML=str; // set the links to str } ***/ /*** // Blur and Focus opacity constants (0-100) var blur_opacity=0; // was 10 var focus_opacity=100; // was 50 var start_opacity=100; var opacity_step=20; // all opacity goals must be a multiple of the step (was 5) var opacity_timer=10; // ms (was 35 ... no, 10) var g_delay=0; // The id class function cid(id,opacity/*,timer* /) { this.id=id; this.opacity=opacity; // this.timer=timer; } var ids=new Array(); var timer=null; // // The id is the object, and the op is the opacity that we want that object to get to // function Animate(id,op,start_op) { // First reset the op if(op == 'blur') { op=blur_opacity; } else if(op == 'focus') { op=focus_opacity; } else if(op == 'super_focus') { op=100; } // First, try and find this object in the array and set the goal opacity var i=0; var found=false; for(i=0;i 0) { g_delay-=opacity_timer; timer=setTimeout('OnTimer();',opacity_timer); return; } // See if we need to change the opacity and restart the timer by checking all the current and goal opacities of all the objects in the array. var at_goal=true; for(i=0;i ids[i].opacity) { at_goal=false; op -= opacity_step; op=Math.floor(op); document.getElementById(id).style.opacity=op/100; document.getElementById(id).style.filter='alpha(opacity='+op+')'; } else if(op < ids[i].opacity) { at_goal=false; op += opacity_step; op=Math.floor(op); document.getElementById(id).style.opacity=op/100; document.getElementById(id).style.filter='alpha(opacity='+op+')'; } else // else we are at goal and if the goal is 0 and there is a src and the src isn't black.gif set it to blank { if(op == 0 && id.indexOf("gallery_image_") != -1 && id.indexOf("gallery_image_black_") == -1) { document.getElementById(id).src='./img/blank.gif'; } } } // If we are not at goal, restart the timer if(at_goal == false) { timer=setTimeout('OnTimer();',opacity_timer); } } ***/ /* function ValidateNumericalEdit(id,min,max) { var obj=document.getElementById(id); if(obj.value.length == 0) { return; } else if(obj.value < min) { obj.value=min; } else if(obj.value > max) { obj.value=max; } } */ function SetCookies(user_id,pass_id) { // Get the username and password from the ids var user=document.getElementById(user_id).value; var pass=document.getElementById(pass_id).value; SetCookiesByValue(user,pass); } function SetCookiesByValue(user,pass) { /*** setCookie('user',user,365); setCookie('pass',pass,365); ***/ // Set the cookies to expire a year from now var d=new Date(); // right now d.setTime(d.getTime()+(1000*60*60*24*365)); // add a year (365 days) to right now in ms var exp=d.toGMTString(); document.cookie="user="+user+"; expires="+exp+"; path=/"; document.cookie="pass="+SHA1(pass)+"; expires="+exp+"; path=/"; } function ResetCookies() { /*** setCookie('user','',-365); setCookie('pass','',-365); ***/ // Set the cookies to expire a year ago var d=new Date(); // right now // d.setTime(d.getTime()-(1000*60*60*24*365)); // subtract a year (365 days) to right now in ms d.setTime(d.getTime()-1000); // subtract a second from right now in ms var exp=d.toGMTString(); document.cookie="user=; expires="+exp+"; path=/"; document.cookie="pass=; expires="+exp+"; path=/"; } // From http://www.w3schools.com/js/js_cookies.asp function setCookie(c_name,value,expiredays) { var exdate=new Date(); exdate.setDate(exdate.getDate()+expiredays); document.cookie=c_name+ "=" +escape(value)+((expiredays==null) ? "" : ";expires="+exdate.toGMTString()); } // From http://www.w3schools.com/js/js_cookies.asp function getCookie(c_name) { if(document.cookie.length>0) { c_start=document.cookie.indexOf(c_name + "="); if(c_start!=-1) { c_start=c_start + c_name.length+1; c_end=document.cookie.indexOf(";",c_start); if(c_end == -1) { c_end=document.cookie.length; } return unescape(document.cookie.substring(c_start,c_end)); } } return ""; } // Sometimes the browser may auto-fill these inputs if it remembers the values, so we need to remove the background image if there's stuff in the inputs function checkLoginInputs() { // Check to see if the input edits are visible if(document.getElementById("login_username") != null) { if(document.getElementById("login_username").value.length != 0) { edit_focus("login_username"); } if(document.getElementById("login_password").value.length != 0) { edit_focus("login_password"); } } } function blog_portfolio_image(portfolio_id) { // Get the current portfolio image document.location="edit_blog.php?p="+portfolio_id; } function blog_session_image(session_id,image) { // Get the current portfolio image document.location="edit_blog.php?s="+session_id+"&i="+image; } /* function ShowSearchDateFormat() { var obj=document.getElementById('query'); if(obj.value.length == 0) { obj.value="MM-DD-YYYY"; obj.select(); } } */ function CheckSearchDateFormat() { // If date is selected var type=document.getElementById('search_type'); if(type.value == "Date") { // Check the date format var obj=document.getElementById('query'); // alert(Date.parse(obj.value)); if(isNaN(Date.parse(obj.value))) { var months=new Array("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"); var date=new Date(); alert("Date must be in the format \""+months[date.getMonth()]+" "+date.getDay()+", "+date.getFullYear()+"\""); // alert("Date must be in the format \"""\""); return false; } } return true; } function LimitImageWidthById(id,max_width) { // Get all of the images in this id var imgs=document.getElementById(id).getElementsByTagName('img'); for (j=0;j max_width) { imgs[j].width=max_width; } } } function LimitImageWidthByClass(tag,className,max_width) { // Get all of the tag types with the class className var tags=document.getElementsByTagName(tag); for(i=0;i max_width) { imgs[j].width=max_width; } } } } } function click(e) { // IE if(document.all) { // Stops right-click on images in IE. if(event.srcElement.tagName=="IMG") { // if(event.button == 2) // { alert("Clicking images has been disabled."); // this needs to be in here to stop the context menu in IE. Safari and FF don't need it. return false; // } } } else // FF, Safari { // Stops right-click on images in FF and Safari. if(e.target.tagName=="IMG") { return false; } } } function printCheck(id) { var obj=document.getElementById('print_option_'+id); if(obj.checked) { document.getElementById('print_option_'+id+'_price_span').style.display='inline'; document.getElementById('print_option_'+id+'_profit_span').style.display='inline'; } else { document.getElementById('print_option_'+id+'_price_span').style.display='none'; document.getElementById('print_option_'+id+'_profit_span').style.display='none'; } } function todo() { // alert("This feature will be available by June 1, the official launch date."); alert("This feature is Coming Soon!"); } function RecalculateProfit(id,base) { // Get the price, and calculate the profit var obj=document.getElementById('print_option_'+id+'_price'); var price=obj.value; // Calculate the profit from the base price var merchant_fee=price * 0.03; // 3% merchant account fee var eppic_fee=price * 0.15; // 15% eppic surf fee // Profit is price minus fees and base cost of the print var profit=price-merchant_fee-eppic_fee-base; if(isNaN(profit)) { profit='Error'; } else if(price != number_format(price,2)) { profit=''; } else { profit=number_format(profit,2); } // Write the profit document.getElementById('print_option_'+id+'_profit').value=profit; } function CheckPriceValidity(id) { if(document.getElementById('print_option_'+id+'_profit').value.length == 0) { alert("Prices must include both dollars and cents."); setTimeout("document.getElementById('print_option_"+id+"_price').focus();document.getElementById('print_option_"+id+"_price').select();",0); } else if(document.getElementById('print_option_'+id+'_profit').value == 'Error') { alert("Invalid price."); setTimeout("document.getElementById('print_option_"+id+"_price').focus();document.getElementById('print_option_"+id+"_price').select();",0); } } /*** SCRIPT.ACULOU.US code ***/ sortableReordered=false; function createFavoritesSortable() { Sortable.create('favs', { tag:'div', constraint:'', onUpdate:function() { sortableReordered=true; } }); // Add ondrag notifier so that once the element is dragged, the click will be ignored. Regardless if onUpdate or onChanged is called. // This is to deal with the case where an element is dragged a bit and let go, and it goes back to it's original place. Draggables.addObserver( { onDrag:function() { sortableReordered=true; } }) } function checkSortable(event) { // We are dragging, so this wasn't a normal click if(sortableReordered) { Event.stop(event); sortableReordered = false; } else { // This was a click, so now look for the delete link in the html, and get the user from that var element=Event.element(event); // If they click on a child of the parent (like the image) then get the parent of the element, to get to the div if(element.innerHTML == '') { element=element.parentNode; } /* var html=element.innerHTML; // var user=html.slice(html.indexOf('view_favorites.php?d=')+'view_favorites.php?d='.length,html.indexOf('"',html.indexOf('view_favorites.php?d='))); var user=html.slice(html.indexOf('',html.indexOf('