// JavaScript Document

// -----------------------------------------------------------------------------------------
// 指定のhtmlデータをWeb上から取ってきて
// 指定の場所にHTMLデータとして表示させます。
function getSomethingDataRequset( url , location , post_data ) {
    var pars = '';
//    var msec = (new Date()).getTime();
//    pars  = "cache=" + msec;
    pars += post_data;

    var myAjax = new Ajax.Request(
        url, 
        {
            method: 'get', 
            parameters: pars, 
            onComplete: function(httpObj){
                $(location).innerHTML = httpObj.responseText;

            }

        });


}


// -----------------------------------------------------------------------------------------
// キャッシュよりも新しいものを取得おまじない
function getRandomParData( ) {
    var pars = '';
    var msec = (new Date()).getTime();
    pars  = "&cache=" + msec;
    return(pars);

}


