// Drop-in content box- By Dynamic Drive
// For full source code and more DHTML scripts, visit http://www.dynamicdrive.com
// This credit MUST stay intact for use

var ie=document.all
var dom=document.getElementById
var ns4=document.layers



function initbox(){

if (!dom&&!ie&&!ns4)
return
	
var smask = document.getElementById('SplashMask');
var scontainer = document.getElementById('SplashContainer');

smask.style.display = "block";
scontainer.style.display = "block";

setTimeout("HideSplash()", 8000);

}


function get_cookie(Name) {
var search = Name + "="
var returnvalue = ""
if (document.cookie.length > 0) {
offset = document.cookie.indexOf(search)
if (offset != -1) {
offset += search.length
end = document.cookie.indexOf(";", offset)
if (end == -1)
end = document.cookie.length;
returnvalue=unescape(document.cookie.substring(offset, end))
}
}
return returnvalue;
}

function HideSplash(){
var smask = document.getElementById('SplashMask');
var scontainer = document.getElementById('SplashContainer');

smask.style.display = "none";
scontainer.style.display = "none";
}

function KMSplash(){
if (get_cookie("droppedin")==""){
window.onload=initbox 
document.cookie="droppedin=yes" 
}
}


