function showAds(){
    var IntroDiv = document.getElementById("introDiv");
    IntroDiv.style.marginTop="-10px";
    //    IntroDiv.style.border="solid 1px #ff0000";
    IntroDiv.style.position="relative";
    var GalleryBigDiv = document.getElementById("gallery-big-div");
    //	GalleryBigDiv.style.border="solid 1px #ffffff";
    GalleryBigDiv.style.position = "absolute";
	
    var GalleryBigHolderDiv = document.getElementById("gallery-big-holder-div");
    GalleryBigHolderDiv.style.marginTop="10px";
    GalleryBigHolderDiv.style.position="absolute";

    var newdiv = document.createElement('div');
    var divIdName = 'flashDiv';
    newdiv.setAttribute('id',divIdName);
    newdiv.style.width="668px";
    newdiv.style.height="223px";
    //    newdiv.style.border="solid 1px #00ff00";
    newdiv.style.position="absolute";
    newdiv.top="0";
    newdiv.left="0";

    var newdiv2 = document.createElement('div');
    var divIdName2 = 'flashDiv2';
    newdiv2.setAttribute('id',divIdName2);
    newdiv2.style.width="668px";
    newdiv2.style.height="223px";
    //      newdiv2.style.border="solid 1px #0000ff";
    newdiv2.style.position="absolute";
    newdiv2.top="0";
    newdiv2.left="0";

    newdiv.appendChild(newdiv2);

    IntroDiv.appendChild(newdiv);
    //and we call for the flash content to be displayed
    
    var flashvars = {
	cacheVersion: "001",
	deploy: "2010-11-05 16:05:00"
    };
		
    var params = {
	menu: "false",
	scale: "noScale",
	allowFullscreen: "true",
	allowScriptAccess: "always",
	wmode: "transparent",
	salign:"t"
    };
		
    var attributes = {
	id:"promotions"
    };

		
    function embedSwfFile2(){
	var flashFound = swfobject.hasFlashPlayerVersion("10"); // change this to 12 to do detection
	if (!flashFound) {
	    document.getElementById("flashDiv2").style.display = "block";
	    var flashImg = document.getElementById('flashDetectImage');
	    flashImg.src = "images/flash_message.jpg"; // This is your themed flash detect image
	}else{
	    swfobject.embedSWF("/swf/banner.swf?v="+flashvars.cacheVersion, "flashDiv2", "668", "223", "10.0.0.0", "swf/expressInstall.swf", flashvars, params, attributes);
	}
    }
    embedSwfFile2();
}
