cver=navigator.appVersion.split(";");
function PhotoViewType(val){
nnd= new Date();
nnd.setTime (nnd.getTime()+(365*24*60*60*1000));
cvdomain = (location.domain) ? location.domain : null;
cvpath = (location.domain) ? location.pathname : null;
SetCookie ("ShowProPhoto", val, nnd, cvpath, cvdomain);
document.location.reload();
}

function switchshowphoto(val){
val=='show'?(showphoto.style.display='none',hidphoto.style.display=''):(showphoto.style.display='',hidphoto.style.display='none');
nnd= new Date();
nnd.setTime (nnd.getTime()+(365*24*60*60*1000));
cvdomain = (location.domain) ? location.domain : null;
cvpath = (location.domain) ? location.pathname : null;
SetCookie ("ShowProPhoto", val, nnd, cvpath, cvdomain);
document.location.reload();
}