﻿function doShowPack(pack_id,region,regionid,parid,paredesc,agntCtl){     
    var edReg = region;
    var agntID;
    if (edReg.match("&")== "&"){    
        edReg = edReg.replace("&", "|") + ", " + paredesc;          
    }
    else{
        edReg = edReg + ", " + paredesc;
    }
    agntID = document.getElementById(agntCtl).value;
    //self.location = "Search_Results.aspx?search=" + pack_id + "&filter=0" ;
    self.location = "Packages/holiday.aspx?pid=" + pack_id;
    
}
