function ServiceLoad(serviceid){
    $.post("/scripts/guest/services/servicesList.php?serviceid="+serviceid, function(data){
        $("#utility").replaceWith(data);
    })
    $.post("/scripts/guest/services/services.php?serviceid="+serviceid, function(data){
        $("#content").replaceWith(data);
    });
}


$(document).ready(function(){
    var URL = new Array();
    window.location.search.replace(
        new RegExp( "([^?=&]+)(=([^&]*))?", "g" ),
        function( $0, $1, $2, $3 ){
            URL[ $1 ] = $3;
        //URL.push($1);
        }
        );
    if (!(URL["id"] > 0 )){
        URL["id"] = 2
        };
    ServiceLoad(URL["id"]);
});
