
	//style info

	document.write("<style>");
	document.write("body{margin:0;padding:0;background-color:#000;}");
	document.write("#gallery_div{position:absolute;top:0px;left:0px;z-index:2;background-color:#000;}");
	document.write("#dclick_div{position:absolute;top:575px;left:5px;z-index:3;background-color:#000;}");
	document.write("</style>");
	
	document.write("<div id=\"gallery_div\"></div>");
	
	//include /shared/flash/photo_gallery/y2006/gallery_version.js prior to the include for this file
	var gallery_o = new FlashObject("/shared/flash/photo_gallery/y2006/photogallery.swf?v="+version, "gallery", "738", "670", "7", "#FFFFFF");
	
	gallery_o.addVariable("xmlFilePath", xmlFilePath);
	gallery_o.addVariable("blurb_color","FFFFFF");
	gallery_o.addVariable("title_color","222222");
	gallery_o.addVariable("title_offset_y","0");
	gallery_o.addVariable("slideshow_time", 15);
	gallery_o.addVariable("ad_refresh_freq", 3); //how many images rotate before ad refreshes
	gallery_o.addVariable("skinBaseURL", "/flash/photo_gallery/y2006/skins/");
	gallery_o.addVariable("images_base_url", "");
	gallery_o.addVariable("tracking_account", "mlsglobal,mlsnet");
	
	gallery_o.addParam("wmode", "transparent");
	gallery_o.addParam("menu", "false");
	gallery_o.write("gallery_div");
	
	var team_code  = "mls";
	var section_id = "gallery";
	var page_id    = "index";
	
	document.write("<div id=\"dclick_bg\">&nbsp;</div>");
	document.write("<div id=\"dclick_div\">");
	document.write("<scr"+"ipt src='/js/dcads.js' type='text/javascript'></scr"+"ipt>");
	document.write("<scr"+"ipt type='text/javascript'>writeAd(728,90)</scr"+"ipt>");
	document.write("</div>");
	
	function refresh_ad(){ }
