var _____WB$wombat$assign$function_____=function(name){return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name))||self[name];};if(!self.__WB_pmw){self.__WB_pmw=function(obj){this.__WB_source=obj;return this;}}{ let window = _____WB$wombat$assign$function_____("window"); let self = _____WB$wombat$assign$function_____("self"); let document = _____WB$wombat$assign$function_____("document"); let location = _____WB$wombat$assign$function_____("location"); let top = _____WB$wombat$assign$function_____("top"); let parent = _____WB$wombat$assign$function_____("parent"); let frames = _____WB$wombat$assign$function_____("frames"); let opens = _____WB$wombat$assign$function_____("opens"); function showvideo(id) { var url="/videos/exec/get_galvideo.php?id="+id; crear_script_tag_video(url); } function crear_script_tag_video(arch) { var sc_obj="JS_SCRIPT_OBJECT"; var obj_head = document.getElementsByTagName("head").item(0) scriptTag = document.getElementById(sc_obj); if(scriptTag!=null) { obj_head.removeChild(scriptTag); delete scriptTag; scriptTag=null; } scriptTag = document.createElement("SCRIPT"); var vch="?"; if (arch.indexOf("?")!=-1) vch="&"; scriptTag.src = arch+vch+Math.random()*1000000; scriptTag.type = 'text/javascript'; scriptTag.id = sc_obj; obj_head.appendChild(scriptTag); } }