// ****************************************************************
    // * Search Process
    // ****************************************************************
    
	function SubmitSearchProcess()
    {   
	try{
		
		var address = new String(escape(document.getElementById("address").value));
		var address2 = new String(escape(document.getElementById("address2").value));
		var zipcode = new String(document.getElementById("zipcode").value);
		
		if (address.length == 0)
		{
			alert('Address is a required field');
			return false;
		}
		if (zipcode.length == 0)
		{
			alert('Zip code is a required field');
			return false;
		}
		if (isNaN(parseInt(zipcode)))
		{
			alert('Zip code must be a 5 digit number');
			return false;
		}
		
		
		url = 'http://www.saveology.com/CompareOffers/default.aspx?a=' + address + ',' + address2 + ',,,' + zipcode + '&c=39&p=995037&nt=Category&nv=' + 39 + '&sc=' + 39;
		postToParent(url)
		
		}
		catch(exc)
		{
			alert(exc.toString());
		}
    }
	
    function postToParent(parentURL)
    {
        var opener = null;
        if (window.opener == null)
            opener = this.parent;
        else
        {
            opener = window.opener;
        }             
        // show splash page
        // change
//        opener.location.replace(parentURL); 
		window.open(parentURL);
    }
