function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function init(){
	
	MM_preloadImages("images/border_down_bg.jpg","images/border_left_bg.jpg","images/border_right_bg.jpg","images/center_down_bg.jpg","images/center_up_bg.jpg","images/corner_right_down.jpg","images/corner_left_down.jpg","images/f_border_down_bg.png","images/f_border_left_bg.png","images/f_border_right_bg.png","images/f_border_up_bg.png","images/f_content_bg.png","images/f_corner_left_down_bg.png","images/f_corner_left_up_bg.png","images/f_corner_right_down_bg.png","images/f_corner_right_up_bg.png","images/f_top_bg.png","images/footer_bg.jpg","images/header_bg.jpg",'images/menu_bg.jpg','images/t.gif',
'images/menu/menu_la_empresa_over.png','images/menu/menu_servicios_over.png','images/menu/menu_informacion_over.png','images/menu/menu_cotizaciones_over.png','images/menu/menu_contacto_over.png','images/menu/submenu_importaciones_over.png','images/menu/submenu_exportaciones_over.png','images/menu/submenu_consolidaciones_over.png','images/menu/submenu_almacenaje_over.png','images/menu/submenu_servicio_carga_over.png');
}

function drawWebSection(p_section){
	switch(p_section)
	{
	case 1:
	  document.write("<table border=\"0\" width=\"886\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\"><tr><td class=\"header\"></td></tr><tr><td class=\"menu\" align=\"right\">");
	  break;
	case 2:
	  document.write("</td></tr><tr><td class=\"center_up_content\"><table width=\"100%\" height=\"454\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\"><tr><td class=\"center_up_borderSide\"></td><td class=\"center_up_submenu\">");
	  break;
	case 3:
	  document.write("</td><td class=\"center_up_maincontent\">");
	  break;
	case 4:
	  document.write("</td><td class=\"center_up_sideCol\">");
	  break;
	case 5:
	  document.write("</td><td class=\"center_up_borderSide\"></td></tr></table></td></tr><tr><td><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\"><tr><td class=\"center_down_borderLeft\"></td><td class=\"center_down_content\">");
	  break;
	case 6:
	  document.write("</script></td><td class=\"center_down_borderRight\"></td></tr></table></td></tr><tr><td><table width=\"885\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\"><tr><td class=\"footer_borderLeft\"></td><td class=\"footer_content\" align=\"center\">");
	  break;
	case 7:
	  document.write("</script></td><td class=\"footer_borderRight\"></td></tr><tr><td class=\"footer_cornerLeft\"></td><td class=\"footer_borderDown\"></td><td class=\"footer_cornerRight\"></td></tr></table></td></tr></table>");
	  break;
	default:
	  //
	}
}

function contentFrameBegin(p_width, p_height){
	document.write("<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" width=\""+p_width+"\" height=\""+p_height+"\"><tr><td class=\"f_cornerLeftUp\"></td><td class=\"f_borderUp\"></td><td class=\"f_cornerRightUp\"></td></tr><tr><td class=\"f_borderLeft\"></td><td class=\"f_top\"></td><td class=\"f_borderRight\"></td></tr><tr><td class=\"f_borderLeft\"></td><td class=\"f_content\">");
}

function contentFrameEnd(){
	document.write("</td><td class=\"f_borderRight\"></td></tr><tr><td class=\"f_cornerLeftDown\"></td><td class=\"f_borderDown\"></td><td class=\"f_cornerRightDown\"></td></tr></table>");
}

function t_contentFrameBegin(p_width, p_height){
	document.write("<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" width=\""+p_width+"\" height=\""+p_height+"\"><tr><td class=\"ft_cornerLeftUp\"></td><td class=\"ft_borderUp\"></td><td class=\"ft_cornerRightUp\"></td></tr><tr><td class=\"ft_borderLeft\"></td><td class=\"ft_top\"></td><td class=\"ft_borderRight\"></td></tr><tr><td class=\"ft_borderLeft\"></td><td class=\"ft_content\">");
}

function t_contentFrameEnd(){
	document.write("</td><td class=\"ft_borderRight\"></td></tr><tr><td class=\"ft_cornerLeftDown\"></td><td class=\"ft_borderDown\"></td><td class=\"ft_cornerRightDown\"></td></tr></table>");
}

function fullTableStart(){
	document.write("<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">");
}

function itemTitle(p_icon, p_title){
	document.write("<tr><td width=\"8\"></td><td><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\"><tr><td width=\"30\" align=\"left\"><img src=\""+p_icon+"\" /></td><td align=\"left\" valign=\"middle\"><span class=\"f_title\">"+p_title+"</span></td></tr></table></td><td width=\"8\"></td></tr><tr><td height=\"8\"></td><td height=\"8\"></td><td height=\"8\"></td></tr>");
}

function itemContentBegin(){
	document.write("<tr><td width=\"8\"></td><td>");
}

function itemContentEnd(){
	document.write("</td><td width=\"8\"></td></tr>");
}

function itemSeparator(){
	document.write("<img src=\"images/t.gif\" height=\"8\" />");
}

function itemMore(p_txt, p_url){
	document.write("<tr><td height=\"8\"></td><td height=\"8\"></td><td height=\"8\"></td></tr><tr><td width=\"8\"></td><td align=\"right\"><a href=\""+p_url+"\" target=\"_self\">"+p_txt+"</a></td><td width=\"8\"></td></tr>");
}
function fullTableEnd(){
	document.write("</table>");
}

function footerLinkSeparator(){
	document.write("&nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;&nbsp;");
}