﻿function download()
{

//document.write('<input type="hidden" name="oRef" value="' + document.referrer.replace(/"/gi,'') + '" />');

//var uAgent = navigator.userAgent.toLowerCase();        
//var g_IsIE = (uAgent.indexOf("msie") >= 0);        
//var g_IsGecko = (uAgent.indexOf("gecko") >= 0);        
//var g_IsIE5Plus = false;        
//var t_uAgent = uAgent.match('msie [0-9]+');        
//if(t_uAgent)        
//{            
//    g_IsIE5Plus = (parseInt(t_uAgent[0].substring(5,t_uAgent[0].length)) >= 5);        
//}


//document.getElementById('btnDownload').disabled=true; 
//setTimeout('document.getElementById(\'btnDownload\').disabled=false', 5000); 


//if (g_IsIE) 
//    {
        window.open('http://download.microsoft.com/download/2/5/5/2550BBB8-650F-4A34-AC2C-9F94DB23B013/LIP_si-LK.mlc',null,'toolbar=0,location=no,directories=0,status=0,scrollbars=yes,resizable=1,width=1,height=1,top=0,left=0');
//    }
}




function downloadOffice()
{
//    var uAgent = navigator.userAgent.toLowerCase();
//    var g_IsIE = (uAgent.indexOf("msie") >= 0);
//    var g_IsGecko = (uAgent.indexOf("gecko") >= 0);
//    var g_IsIE5Plus = false;
//    var t_uAgent = uAgent.match('msie [0-9]+');
//    if(t_uAgent)
//    {
//        g_IsIE5Plus = (parseInt(t_uAgent[0].substring(5,t_uAgent[0].length)) >= 5);
//    }

    //document.write('<input type="hidden" name="oRef" value="' + document.referrer.replace(/"/gi,'') + '" />');


//    if (g_IsIE) 
//    {
        window.open('http://download.microsoft.com/download/4/2/D/42D1AD9F-67DF-4A5A-81C8-0263BBB73085/LanguageInterfacePack.exe',null,'toolbar=0,location=no,directories=0,status=0,scrollbars=yes,resizable=1,width=1,height=1,top=0,left=0');
//    }
}