var dominio = "http://www.emmellearredamenti.com"

function introSWF(){
	var shtml = "<object classid=\"clsid:d27CDB6E-AE6D-11cf-96B8-444553540000\"";
	shtml += " codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,79,0\"";
	shtml += "  width=\"745\" height=\"381\" id=\"simple_movie\" align=\"\">";
	shtml += " <param name=\"movie\" value=\""+dominio+"/images/index.swf\">";
	shtml += " <param name=\"quality\" value=\"high\">";
	shtml += " <param name=\"bgcolor\" value=\"#ffffff\">";
	shtml += " <param name=\"wmode\" value=\"transparent\">";
	shtml += " <embed src=\""+dominio+"/images/index.swf\" ";
	shtml += " quality=\"high\" bgcolor=\"#ffffff\" width=\"745\" height=\"381\" ";
	shtml += " name=\"simple_movie\" align=\"\" wmode=\"transparent\" ";
	shtml += "  type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\"></embed>";
	shtml += "     </object>"

	var md = document;
	var swf1 = md.getElementById("introduzione");
	swf1.innerHTML = shtml;
}
function prodottiSWF_it(){
	var shtml = "<object classid=\"clsid:d27CDB6E-AE6D-11cf-96B8-444553540000\"";
	shtml += " codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,79,0\"";
	shtml += "  width=\"440\" height=\"250\" id=\"simple_movie\" align=\"\">";
	shtml += " <param name=\"movie\" value=\""+dominio+"/images/prodotti_it.swf\">";
	shtml += " <param name=\"quality\" value=\"high\">";
	shtml += " <param name=\"bgcolor\" value=\"#E8E8E8\">";
	shtml += " <param name=\"wmode\" value=\"window\">";
	shtml += " <embed src=\""+dominio+"/images/prodotti_it.swf\" ";
	shtml += " quality=\"high\" bgcolor=\"#E8E8E8\" width=\"440\" height=\"250\" ";
	shtml += " name=\"simple_movie\" align=\"\" wmode=\"window\" ";
	shtml += "  type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\"></embed>";
	shtml += "     </object>"

	var md = document;
	var swf1 = md.getElementById("prodotti");
	swf1.innerHTML = shtml;
}

function prodottiSWF_en(){
	var shtml = "<object classid=\"clsid:d27CDB6E-AE6D-11cf-96B8-444553540000\"";
	shtml += " codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,79,0\"";
	shtml += "  width=\"440\" height=\"250\" id=\"simple_movie\" align=\"\">";
	shtml += " <param name=\"movie\" value=\""+dominio+"/images/prodotti_en.swf\">";
	shtml += " <param name=\"quality\" value=\"high\">";
	shtml += " <param name=\"bgcolor\" value=\"#E8E8E8\">";
	shtml += " <param name=\"wmode\" value=\"window\">";
	shtml += " <embed src=\""+dominio+"/images/prodotti_en.swf\" ";
	shtml += " quality=\"high\" bgcolor=\"#E8E8E8\" width=\"440\" height=\"250\" ";
	shtml += " name=\"simple_movie\" align=\"\" wmode=\"window\" ";
	shtml += "  type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\"></embed>";
	shtml += "     </object>"

	var md = document;
	var swf1 = md.getElementById("prodotti");
	swf1.innerHTML = shtml;
}

function prodottiSWF_es(){
	var shtml = "<object classid=\"clsid:d27CDB6E-AE6D-11cf-96B8-444553540000\"";
	shtml += " codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,79,0\"";
	shtml += "  width=\"440\" height=\"250\" id=\"simple_movie\" align=\"\">";
	shtml += " <param name=\"movie\" value=\""+dominio+"/images/prodotti_es.swf\">";
	shtml += " <param name=\"quality\" value=\"high\">";
	shtml += " <param name=\"bgcolor\" value=\"#E8E8E8\">";
	shtml += " <param name=\"wmode\" value=\"window\">";
	shtml += " <embed src=\""+dominio+"/images/prodotti_es.swf\" ";
	shtml += " quality=\"high\" bgcolor=\"#E8E8E8\" width=\"440\" height=\"250\" ";
	shtml += " name=\"simple_movie\" align=\"\" wmode=\"window\" ";
	shtml += "  type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\"></embed>";
	shtml += "     </object>"

	var md = document;
	var swf1 = md.getElementById("prodotti");
	swf1.innerHTML = shtml;
}

function prodottiswf_common()
{
	var shtml = "<object classid=\"clsid:d27CDB6E-AE6D-11cf-96B8-444553540000\"";
	shtml += " codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,79,0\"";
	shtml += "  width=\"390\" height=\"200\" id=\"simple_movie\" align=\"\">";
	shtml += " <param name=\"movie\" value=\""+dominio+"/images/flash_prodotti.swf\">";
	shtml += " <param name=\"quality\" value=\"high\">";
	shtml += " <param name=\"bgcolor\" value=\"#E8E8E8\">";
	shtml += " <param name=\"wmode\" value=\"transparent\">";
	shtml += " <embed src=\""+dominio+"/images/flash_prodotti.swf\" ";
	shtml += " quality=\"high\" bgcolor=\"#E8E8E8\" width=\"390\" height=\"200\" ";
	shtml += " name=\"simple_movie\" align=\"\" wmode=\"transparent\" ";
	shtml += "  type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\"></embed>";
	shtml += "     </object>"

	var md = document;
	var swf1 = md.getElementById("prodotticommon");
	swf1.innerHTML = shtml;
}


function topSWF_it(mm,ms){
	var shtml = "<object classid=\"clsid:d27CDB6E-AE6D-11cf-96B8-444553540000\"";
	shtml += " codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,79,0\"";
	shtml += "  width=\"780\" height=\"270\" id=\"simple_movie\" align=\"\">";
	shtml += " <param name=\"movie\" value=\""+dominio+"/images/top_it.swf?mm=" + mm + "&ms=" + ms + "\">";
	shtml += " <param name=\"quality\" value=\"high\">";
	shtml += " <param name=\"bgcolor\" value=\"#E8E8E8\">";
	shtml += " <param name=\"wmode\" value=\"transparent\">";
	shtml += " <embed src=\""+dominio+"/images/top_it.swf?mm=" + mm + "&ms=" + ms + "\" ";
	shtml += " quality=\"high\" bgcolor=\"#E8E8E8\" width=\"780\" height=\"270\" ";
	shtml += " name=\"simple_movie\" align=\"\" wmode=\"transparent\" ";
	shtml += "  type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\"></embed>";
	shtml += "     </object>"

	var md = document;
	var swf1 = md.getElementById("testa");
	swf1.innerHTML = shtml;
}

function topSWF_en(mm,ms){
	var shtml = "<object classid=\"clsid:d27CDB6E-AE6D-11cf-96B8-444553540000\"";
	shtml += " codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,79,0\"";
	shtml += "  width=\"780\" height=\"270\" id=\"simple_movie\" align=\"\">";
	shtml += " <param name=\"movie\" value=\""+dominio+"/images/top_en.swf?mm=" + mm + "&ms=" + ms + "\">";
	shtml += " <param name=\"quality\" value=\"high\">";
	shtml += " <param name=\"bgcolor\" value=\"#E8E8E8\">";
	shtml += " <param name=\"wmode\" value=\"transparent\">";
	shtml += " <embed src=\""+dominio+"/images/top_en.swf?mm=" + mm + "&ms=" + ms + "\" ";
	shtml += " quality=\"high\" bgcolor=\"#E8E8E8\" width=\"780\" height=\"270\" ";
	shtml += " name=\"simple_movie\" align=\"\" wmode=\"transparent\" ";
	shtml += "  type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\"></embed>";
	shtml += "     </object>"

	var md = document;
	var swf1 = md.getElementById("testa");
	swf1.innerHTML = shtml;
}

function topSWF_de(mm,ms){
	var shtml = "<object classid=\"clsid:d27CDB6E-AE6D-11cf-96B8-444553540000\"";
	shtml += " codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,79,0\"";
	shtml += "  width=\"780\" height=\"270\" id=\"simple_movie\" align=\"\">";
	shtml += " <param name=\"movie\" value=\""+dominio+"/images/top_de.swf?mm=" + mm + "&ms=" + ms + "\">";
	shtml += " <param name=\"quality\" value=\"high\">";
	shtml += " <param name=\"bgcolor\" value=\"#E8E8E8\">";
	shtml += " <param name=\"wmode\" value=\"transparent\">";
	shtml += " <embed src=\""+dominio+"/images/top_de.swf?mm=" + mm + "&ms=" + ms + "\" ";
	shtml += " quality=\"high\" bgcolor=\"#E8E8E8\" width=\"780\" height=\"270\" ";
	shtml += " name=\"simple_movie\" align=\"\" wmode=\"transparent\" ";
	shtml += "  type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\"></embed>";
	shtml += "     </object>"

	var md = document;
	var swf1 = md.getElementById("testa");
	swf1.innerHTML = shtml;
}

function topSWF_es(mm,ms){
	var shtml = "<object classid=\"clsid:d27CDB6E-AE6D-11cf-96B8-444553540000\"";
	shtml += " codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,79,0\"";
	shtml += "  width=\"780\" height=\"270\" id=\"simple_movie\" align=\"\">";
	shtml += " <param name=\"movie\" value=\""+dominio+"/images/top_es.swf?mm=" + mm + "&ms=" + ms + "\">";
	shtml += " <param name=\"quality\" value=\"high\">";
	shtml += " <param name=\"bgcolor\" value=\"#E8E8E8\">";
	shtml += " <param name=\"wmode\" value=\"transparent\">";
	shtml += " <embed src=\""+dominio+"/images/top_es.swf?mm=" + mm + "&ms=" + ms + "\" ";
	shtml += " quality=\"high\" bgcolor=\"#E8E8E8\" width=\"780\" height=\"270\" ";
	shtml += " name=\"simple_movie\" align=\"\" wmode=\"transparent\" ";
	shtml += "  type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\"></embed>";
	shtml += "     </object>"

	var md = document;
	var swf1 = md.getElementById("testa");
	swf1.innerHTML = shtml;
}


function arredamenti_common()
{
	var shtml = "<object classid=\"clsid:d27CDB6E-AE6D-11cf-96B8-444553540000\"";
	shtml += " codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,79,0\"";
	shtml += "  width=\"320\" height=\"200\" id=\"arredamenti\" align=\"\">";
	shtml += " <param name=\"movie\" value=\""+dominio+"/images/flash_prodotti_arr.swf\">";
	shtml += " <param name=\"quality\" value=\"high\">";
	shtml += " <param name=\"bgcolor\" value=\"#E8E8E8\">";
	shtml += " <param name=\"wmode\" value=\"transparent\">";
	shtml += " <embed src=\""+dominio+"/images/flash_prodotti_arr.swf\" ";
	shtml += " quality=\"high\" bgcolor=\"#E8E8E8\" width=\"320\" height=\"200\" ";
	shtml += " name=\"arredamenti\" align=\"\" wmode=\"transparent\" ";
	shtml += "  type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\"></embed>";
	shtml += "     </object>"

	var md = document;
	var swf8 = md.getElementById("arredamenticommon");
	swf8.innerHTML = shtml;
}
