﻿// JScript File

 var Footer=
'<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" class="ftrLnktxt">'+
'        <tr>'+
'       <td style="border-top:solid 1px #ccc;">'+
'          <a href="https://trustsealinfo.verisign.com/splash?form_file=fdf/splash.fdf&dn=www.mponline.gov.in&lang=en" target="_blank"><img src="/Quick Links/PortalImages/verisign.png" alt="" align="absmiddle" border="0"></a>'+                   
'       </td>'+
'          <td  height="60"  align="center" valign="bottom" style="font-size:10px; border-top:solid 1px #ccc;">'+
//'                   <strong>'+lblPortalDataVerification+' </strong>'+
//'                   <br />'+
'           <strong>'+lblDisclaimer+':</strong>'+
'                           '+lblDisclaimerData+''+
'                <br/>    Copyright © 2011 MPOnline Ltd. , JV between '+
'                           <a href="http://www.mpsedc.com" target="_blank" class="ftrLnk" style="color:black;">Madhya Pradesh State Electronics Development Corporation Ltd. of Government of Madhya Pradesh</a>'+
'                            &'+
'                           <a href="http://www.tcs.com" target="_blank" class="ftrLnk" style="color:black;">TATA CONSULTANCY SERVICES LIMITED</a>'+
'                           <br/>'+
'                          '+lblAllRightsReserved+'.'+ 
'                    <a href="/Portal/Content/feedback/Feedback.aspx?langid="'+langid+'" class="ftrLnk" style="color:black;">'+lblFeedback+
'                   '+'|'+
//'                    <a href="/Portal/FAQ/FAQSCREEN.aspx?langid="'+langid+'" class="ftrLnk">'+lblFaq+
//'                   '+'|'+
'                   <a href="/Portal/FAQ/FAQSCREEN.aspx" class="ftrLnk" style="color:black;">FAQ&acute;s </a> |' +

'                   <a href="/Portal/ContactHome.aspx" class="ftrLnk" style="color:black;"> Contact us </a> |' +
'                   <a href="/Portal/Content/Terms of Service.htm" class="ftrLnk" style="color:black;">'+ lblTermsOfService +'.</a>' +
'                   Site Best Viewed in IE7.0+ at Resolution 1024 X 768.'+
'           </td>'+
'        </tr>'+
'      </table>';
//alert(Footer);
document.write(Footer);
var h= screen.height;
var w=screen.Width;



try
{
// var MyForm=document.forms[0];
//               
//               if(MyForm)
//               {
//                  
//                   if(MyForm.className!="Ignore")
//                   {
//                        MyForm.style.width=964;
//                        MyForm.style.margin=(w-964-22)/2;
//                        MyForm.style.marginTop=10;
//                        MyForm.style.marginBottom=10;
//                        MyForm.className="Container";
//                     
//                   }
//                   
//                } 
// 
 
}
catch(err)
{

}

try
{
    
   
       var   Elem= GEI("Msg")?GEI("Msg"):(GEI("lblMsg")?GEI("lblMsg"):GEI("lblException")) ;
       
       
        if(Elem!=null)
	    {
	           
        	       WriteMessage(Elem.innerHTML);
	               Elem.style.display="none";
	    }
	       
	   
            

}   
 catch(err)
{
    alert(err.message);

}    


function WriteMessage(Content)
{
    var w= 500;
    var h= 470;
    var left = (screen.width/2)-(w/2);
    var top = (screen.height/2)-(h/2);
    if(Content!="")
        {
                  
                  //var OK="<a href='javascript:void(0);' style=\"background-image:url('/Quick Links/login.png');text-decoration:none; \"   </a>";
                  
                  var  Content= "<div id='TransScreen'  style='z-index:500;background-color:#333;position:fixed;top:0px;left:0px;width:100%;height:100%;opacity: 0.1;filter:alpha(opacity=30);'></div>"+
	                                                "<div id='divMsg' style='top:"+top+"px;left:"+left+"px;position:fixed;width:"+w+"px;height:"+h+"px;z-index:10001;'>"+
	                                                "<table style=' background-position:center; width:492px; height:240px;' background='/Quick Links/PortalImages/error-bg.png'   >"+
	                                                "<tr><td valign='top'>"+
	                                                   "<table align='center' width='85%' border='0'  style='margin-top:55px; line-height:20px; ' >"+
	                                                     "<tr><td style='color:white; text-align:center; height:130px; font-size:12px;'>"+
	                                                            
    	                                                              Content+
                                                                
	                                                        "</td></tr>"+
	                                                        "<tr><td align='center'>"+
                                                             "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input id='btnOK' type='button' value='ok'  style='width:70px'onclick='javascript:try{GEI(\"TransScreen\").style.display=\"none\";GEI(\"divMsg\").style.display=\"none\";var   Elem= GEI(\"Msg\")?GEI(\"Msg\"):(GEI(\"lblMsg\")?GEI(\"lblMsg\"):GEI(\"lblException\"));Elem.style.display=\"none\";}catch(err){};'>"                                                            
                                                            "</td></tr>"+
                                                            
	                                                     "</table>"+
	                                                     "</table>"+
	                                                 "</div>";
                	                      
	                               document.write(Content); 
                	               
        }

}
               
 function GEI(X){ return document.getElementById(X);}
         









