/* Flash Name: Pink Focus Description: 粉红聚焦Flash图片轮播 */ document.write('
'); $importjs = (function() { var uid = 0; var curr = 0; var remove = function(id) { var head = document.getElementsByTagName('head')[0]; head.removeChild( document.getElementById('jsInclude_'+id) ); }; return function(file,callback) { var callback; var id = ++uid; var head = document.getElementsByTagName('head')[0]; var js = document.createElement('script'); js.setAttribute('type','text/javascript'); js.setAttribute('src',file); js.setAttribute('id','jsInclude_'+id); if( document.all ) { js.onreadystatechange = function() { if(/(complete|loaded)/.test(this.readyState)) { try { callback(id);remove(id); } catch(e) { setTimeout(function(){remove(id);include_js(file,callback)},2000); } } }; } else { js.onload = function(){callback(id); remove(id); }; } head.appendChild(js); return uid; }; } )(); function show_flash() { var text_height = 0; var focus_width = swf_width; var focus_height = swf_height - text_height; var total_height = focus_height + text_height; document.getElementById('flash_cycle_image').innerHTML = ''; } $importjs('data/flashdata/pinkfocus/data.js', show_flash);