function CreateControl(DivID, CLSID, codebase, WIDTH, HEIGHT, archive,code, CODEBASEJ, name, URL, message, max_upload, max_file, MAYSCRIPT, full_path, props_file) { var d = document.getElementById(DivID); d.innerHTML = ''; } function fixClickToActivateNew(obj,inner_html) { obj.innerHTML = inner_html; } function CreateFlv(DivID, rurl, imagePath, flashVar) { var d = document.getElementById(DivID); var e = canResizeFlash(); var flash_height = "100%"; var browser_ie = window.location+""; if(document.all) flash_height = d.style.height; var innerContent = ''; else innerContent += ' />Flash Plug-In required to view video content.'; d.innerHTML = innerContent; } function CreateXuploadControl(DivID, WIDTH, HEIGHT, ID, CLASSID, CODEBASE, Server, Port, Script, Filter, MaxFileSize, MaxTotalSize, Extensions, Redirect, RedirectURL) { var d = document.getElementById(DivID); d.innerHTML = ''; } function loadslideshowswf(DivID, slideshowurl, stylePath,hits,fifthparameter) { var d = document.getElementById(DivID); var flash_height = "100%" var player_base = "data" if(document.all) { flash_height = d.style.height; player_base = "codebase" } if(hits=="nohits") { //slideshowurl+="?isPlayerLoadedInPublicPage=false"; flashvarsVar="style_path="+stylePath+"&isPlayerLoadedInPublicPage=false"; } else { flashvarsVar="style_path="+stylePath+""; } var browser_ie = window.location+""; var flashtxt = ''; //prompt('Enter your name',flashtxt); d.innerHTML = flashtxt; } function getFullScreenFlashObject(DivID, fullscreenswfurl, width, height) { //alert(fullscreenswfurl); var browser = navigator.appName; var version = navigator.appVersion; var flashvarvals = "screenwidth="+width+"&screenheight="+height+"&browser="+browser+"&browerversion="+version; var d = document.getElementById(DivID); var flashtxt = ''; //alert(flashtxt); d.innerHTML = flashtxt; } function getFullScreenPicklePlayerObject(DivID, fullscreenswfurl, width, height) { //alert(fullscreenswfurl); var browser = navigator.appName; var version = navigator.appVersion; var flashvarvals = "screenwidth="+width+"&screenheight="+height+"&browser="+browser+"&browerversion="+version; var d = document.getElementById(DivID); var flashtxt = ''; //alert(flashtxt); d.innerHTML = flashtxt; } function replace(string,text,by) { // Replaces text with by in string var strLength = string.length, txtLength = text.length; if ((strLength == 0) || (txtLength == 0)) return string; i = string.indexOf(text); if ((!i) && (text != string.substring(0,txtLength))) return string; if (i == -1) return string; var newstr = string.substring(0,i) + by; if (i+txtLength < strLength) newstr += replace(string.substring(i+txtLength,strLength),text,by); return newstr; } function getHomePageObject(DivID, firstItemUrl) { var d = document.getElementById(DivID); var flashtxt = '