Location: PHPKode > scripts > TinyWebGallery > tinywebgallery/i_frames/index.htm
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" type="text/css" href="iframe.css" />
</head>
<body>

<script type="text/javascript">
// window.setTimeout("showMooDiv();",50);

function getElementByClassName(oElm, strTagName, strClassName){
	var arrElements = (strTagName == "*" && oElm.all)? oElm.all : oElm.getElementsByTagName(strTagName);
	var arrReturnElements = new Array();
	strClassName = strClassName.replace(/-/g, "\-");
	var oRegExp = new RegExp("(^|\s)" + strClassName + "(\s|$)");
	var oElement;
	for(var i=0; i<arrElements.length; i++){
		oElement = arrElements[i];
		if(oRegExp.test(oElement.className)){
			arrReturnElements.push(oElement);
		}
	}
	return (arrReturnElements[0])
}

function hide_twg() {
 if (window.hide_layer) {
   fun_layer = getElementByClassName(document, "div", "layer_main");
   if (fun_layer) {
      hide_layer(0,fun_layer.id);
   }
 }
}

window.setTimeout("hide_twg();",3000);
window.setTimeout("hide_twg();",5000);
window.setTimeout("hide_twg();",7000);
</script>

</body>
</html>
Return current item: TinyWebGallery