﻿function TimeOutRedirect()
    {

        try
        {
            
            if (self.parent.frames.length != 0)
            {          
                var url = document.location; 
                var query = url.search.substring(1);     
                if (query == "")
                {                    
                    
                }
                else
                {
                    if (query.indexOf("rid=y") == -1)
                    {
                     
                    }
                    else
                    {
                       self.parent.location=document.location;
                    }
                    
                }
                
                
            }
        }
        catch (Exception) {}

    }   
    
 function postingvaluse()
 {
    var untxt = document.getElementById("txtUserName");
    var pwtxt = document.getElementById("txtPassword");
    
    window.open("postdata.aspx?un=" + untxt.value + "&pw=" + pwtxt.value);
    
 }   