function SetCookie(n,t){var u=SetCookie.arguments,r=SetCookie.arguments.length,i=2<r?u[2]:null,e=3<r?u[3]:null,f=4<r?u[4]:null,o=5<r?u[5]:!1;i=i==null?new Date(2099,1,1):i,document.cookie=n+"="+escape(t)+(i==null?"":"; expires="+i.toGMTString())+(e==null?"":"; path="+e)+(f==null?"":"; domain="+f)+(o==!0?"; secure":"")}function GetCookie(n){var i=n+"=",t="";return document.cookie.length>0&&(offset=document.cookie.indexOf(i),offset!=-1&&(offset+=i.length,end=document.cookie.indexOf(";",offset),end==-1&&(end=document.cookie.length),t=unescape(document.cookie.substring(offset,end)))),t}function DelCookie(n){var t=new Date,i;t.setTime(t.getTime()-1),i=GetCookie(n),document.cookie=n+"="+escape(i)+"; expires="+t.toGMTString()}function GetArrayByString(n){for(var u,i=[],r=n.split(";"),t=0;t<r.length;t++)r[t].length==0&&(r[t]=" "),i[t]=r[t].split("|");if(i.length>0)for(t=i.length-1;t>=0;t--)if(i[t][0]==" ")i.length--;else break;return i}function changePhoto(n,t,i){for(var r=1;r<=i;r++)t==r?$("#"+n+r).hide():$("#"+n+r).show()};
