elm.innerHTML = '<iframe frameborder="0" name="' + RESOURCE_NAME + '" src="' + url +	'"  style="width: 100%; height:100%;"></iframe>'; 
var resContainer = window.document.getElementById("res"); resContainer.src=url; resContainer.name=RESOURCE_NAME;  
function setResource(id, url, base) {		url= base + url;	if (!top.frames[RESOURCE_NAME])	{		var elm = window.document.getElementById(RESOURCE_PARENT);		if (!elm) 		{			return window.alert("Window Container not found");		}		var h = elm.clientHeight-20;		if (self.innerHeight && navigator.userAgent.indexOf("Safari") != -1) // needed for Webkit based browsers		{			h = self.innerHeight-60;		} 		elm.innerHTML = '<iframe frameborder="0" name="' + RESOURCE_NAME + '" src="' + url +	'"  style="width: 100%; height:100%;"></iframe>';		} 	else 	{					open(url, RESOURCE_NAME);	} 		if (guiItem) 	{		removeClass(guiItem, "current");		removeClass(guiItem, "running");			}	guiItem = all(ITEM_PREFIX + id);	if (guiItem)	{		removeClass(guiItem,"not_attempted",1);		removeClass(guiItem,"incomplete",1);		removeClass(guiItem,"completed",1);		removeClass(guiItem,"failed",1);		removeClass(guiItem,"passed",1);		addClass(guiItem, "current");		addClass(guiItem,"running");	}	onWindowResize();	//reset	adlnavreq=false;	sclogdump("Launched: "+id,"info");	sclogflush();}
6251	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6251/e98a1a90d38987e999974eaea837c1580d9da614/main.js/clean/Modules/Scorm2004/scripts/main.js