﻿// JScript File
 <!--
    function ChangeAdvancedSearchTxt()
    {
    
        var elem = document.getElementById("ctl00_ContentPlaceHolder1_txtKeyword") 
        
        
       // alert(elem.value)  
        if(elem.value == "Event name, Artist or  Team name")
        {
            elem.value = ""
        }      
    }
    
    function ChangeNewsLetterTxt()
    {
        var elem = document.getElementById("ctl00_ContentPlaceHolder1_UCLeftSide1_txtNewletterEmail") 
       // alert(elem.value)  
        if(elem.value == "Enter Email Address")
        {
            elem.value = ""
        }      
    }
    
    function ChangeTxtFlightFrom()
    {
        var elem = document.getElementById("ctl00_ContentPlaceHolder1_txtFlightFrom") 
       
        if(elem.value == "Country & City")
        {
            elem.value = ""
        }
    }
    
    function ChangeTxtFlightTo()
    {
        var elem = document.getElementById("ctl00_ContentPlaceHolder1_txtFlightTo")
        
        if(elem.value == "Country & City")
        {
            elem.value = ""
        }
    }
    
    
    function openWin(strHref)
		{
		
		    var win = null;
            //'" + pageURL + ?controlID=" + Request[txtDefaultMediaID.UniqueID] + "'
                win = window.open(strHref ,'ppp','width=550px,height=400px,status=0,resizeable=1,top=250,left=640');
                win.focus();
        }
        
        function openImagePop(url)
		{
		
		    var win = null;
            //'" + pageURL + ?controlID=" + Request[txtDefaultMediaID.UniqueID] + "'
                win = window.open(url ,'www','width=600px,height=550px,location =0,menubar =0,resizable =yes,scrollbars =yes,status=0,titlebar =0,toolbar =0,zoominherit=1,top=250,left=640');
                win.focus();
        }
        
        
        function addToFavorite() 
        
        {
        
            window.external.AddFavorite(location.href, document.title);
        
        }

        function CreateBookmarkLink() 
        { 
            title = "TicketNetOnline";  
            // Blogger - Replace with <$BlogItemTitle$>   
            // MovableType - Replace with <$MTEntryTitle$> 
            url = "http://www.ticketnetonline.com";  
            // Blogger - Replace with <$BlogItemPermalinkURL$>  
            // MovableType - Replace with <$MTEntryPermalink$> 
            // WordPress - <?php bloginfo('url'); ?>	
            if (window.sidebar) 
            {
                // Mozilla Firefox Bookmark		
                window.sidebar.addPanel(title, url,"");	
            } 
            else if( window.external ) 
            { 
                // IE Favorite		
                window.external.AddFavorite( url, title); 
            }	
            else if(window.opera && window.print) 
            { 
                // Opera Hotlist	
            	return true;
             }
         }
        
        
       

        function QuickSearchPress(evt)

        {

            if(evt.which || evt.keyCode)

            {

                if((evt.which == 13) || (evt.keyCode == 13))

                {

                location =    document.getElementById('ctl00_btnSearchGo').href;

                return false;    

            }

                return true;

            }

        }
        
        

 


    //-->
