/*if (document.addEventListener)
{
    document.addEventListener("mousedown",move, false);
}
else if (document.attachEvent)
{
    document.attachEvent("onmousedown",move);
}*/

function move(e)
{
    //if (!e) e= event;
    var docX,docY;

    if (e.pageX == null)
    {
       // IE case
       var d= (document.documentElement && 
               document.documentElement.scrollLeft != null) ?
              document.documentElement : document.body;
       docX= e.clientX + d.scrollLeft;
       docY= e.clientY + d.scrollTop - document.getElementById("colorbox").style.top.slice(0,-2) - 21;;
    }
    else
    {
       // all other browsers
       docX= e.pageX;
       docY= e.pageY - document.getElementById("colorbox").style.top.slice(0,-2) - 21;
    }
    //document.write(docY);
	if(docY>28 && docY<=157) window.location="http://www.gteceducation.com.mx/diplomado_desktop_publishing.html";
	if(docY>160 && docY<=289) window.location="http://www.gteceducation.com.mx/diplomado_aplicacionesweb_dinamicas.html";
	if(docY>292 && docY<=421) window.location="http://www.gteceducation.com.mx/diplomado_aplicaciones_clienteservidor.html";
	if(docY>424 && docY<=553) window.location="http://www.gteceducation.com.mx/diplomado_hardware_redes.html";

    return false;
}


