var isLoadData = false; var photoJson = [{showtit:'',showtxt:'',smallpic:'/upLoad/album/month_1206/201206260936356749.jpg','bigpic':'/upLoad/album/month_1206/201206260936356749.jpg'},{showtit:'',showtxt:'',smallpic:'/upLoad/album/month_1206/201206260937248864.jpg','bigpic':'/upLoad/album/month_1206/201206260937248864.jpg'},{showtit:'',showtxt:'',smallpic:'/upLoad/album/month_1206/201206260937377028.jpg','bigpic':'/upLoad/album/month_1206/201206260937377028.jpg'},{showtit:'',showtxt:'',smallpic:'/upLoad/album/month_1206/201206260939594664.jpg','bigpic':'/upLoad/album/month_1206/201206260939594664.jpg'}]; isLoadData = true; function GroupLoadJs(file,callback) { var head = document.getElementsByTagName('head')[0]; var js = document.createElement('script'); js.setAttribute('type','text/javascript'); js.setAttribute('src',file); head.appendChild(js); js.onload = js.onreadystatechange = function() { if (js.readyState && js.readyState != 'loaded' && js.readyState != 'complete') return; js.onreadystatechange = js.onload = null; if (callback) callback(); } return false; } GroupLoadJs(GroupjsUrl,function(){ if(isLoadData){ picShow.Picsite=""; picShow.lastUrl="#"; picShow.defatLink = "http://http://www.foamhandle.com/"; picShow.SiteName = ""; picShow.Loader(); picShow.$("photo-warp-inner").style.visibility = "visible"; } })