﻿// JScript File
function getElementId(tagid)
    {
        return document.all ? document.all.item(tagid): document.getElementById(tagid);        
    }   
function Id(tagid)
    {
        return document.all ? document.all.item(tagid): document.getElementById(tagid);        
    }
function __ValueID(tagid)   
{
    return Id(tagid).value;
}

            
 function GetWithLeftClient()
    {
       
         var lf=document.documentElement.clientWidth;
         if(lf <1000)
         return 258;
         if(lf>1100)
         return  (lf-1024)/2 + 276;
         return  270;
    }
function GetWithRightClient()
    {
         var lf=document.documentElement.clientWidth;
         if(lf<1000)
         return -175;
         if(lf>1100)
         return (lf-1024)/2 + 45;
         return 35;
    }
function GetWithLeftClients()
    {
       
         var lf=document.documentElement.clientWidth;
         if(lf <1000)
         return 248;
         if(lf>1100)
         return  (lf-1024)/2 + 266;
         return  260;
    }
function GetWithRightClients()
    {
         var lf=document.documentElement.clientWidth;
         if(lf<1000)
         return -170;
         if(lf>1100)
         return (lf-1024)/2 + 50;
         return 40;
    }