﻿function ChangeLocation(eUrl) 
{
    console.log(eUrl);  
}

function GetClientWidth() 
{
    if(window.innerWidth)
    {
        return window.innerWidth
    }
                    
    if(document.documentElement)
    {
        return document.documentElement.clientWidth
    }
    
    if(document.body)
    {
        return document.body.clientWidth
    }

    return 0
}

function GetClientHeight() 
{
    if(window.innerHeight)
    {
        return window.innerHeight
    }
                    
    if(document.documentElement)
    {
        return document.documentElement.clientHeight
    }
    
    if(document.body)
    {
        return document.body.clientHeight
    }

    return 0
}
