var isLoadData = false; var photoJson = [{showtit:'',showtxt:'',smallpic:'/upLoad/album/month_1206/20120612161327862.jpg','bigpic':'/upLoad/album/month_1206/20120612161327862.jpg'},{showtit:'',showtxt:'',smallpic:'/upLoad/album/month_1206/201206121614134194.jpg','bigpic':'/upLoad/album/month_1206/201206121614134194.jpg'},{showtit:'',showtxt:'',smallpic:'/upLoad/album/month_1206/201206121614402718.jpg','bigpic':'/upLoad/album/month_1206/201206121614402718.jpg'},{showtit:'',showtxt:'',smallpic:'/upLoad/album/month_1206/201206121614572810.jpg','bigpic':'/upLoad/album/month_1206/201206121614572810.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"; } })