function SearchView(SearchString,FLG){
	if (FLG == 1) {
		window.location.href="/jp/domino01/pc/download/download.nsf/ArcMTMSearchView?SearchView&SearchOrder=4&Query="+ SearchString;
		}
	else {
		window.location.href="/jp/domino01/pc/download/download.nsf/MTMSearchView?SearchView&SearchOrder=4&SearchMax=0&Query="+ SearchString;
		}
}

function CreateSearchString( FLG ){

    str_type_model = ""
    var L = document.forms[2].elements.length

    for ( i = 0; i < L; i++){
        fn = document.forms[2].elements[i].name;
        switch(fn){

        case "type":
                if (document.forms[2].type.value!="" && document.forms[2].model.value==""){
                    str_type_model = '([Type]="' + document.forms[2].type.value.toUpperCase() + '")';
                }
                if (document.forms[2].type.value!="" && document.forms[2].model.value!=""){
                    str_type_model = '([Model]="' + document.forms[2].type.value.toUpperCase() + "-" + document.forms[2].model.value.toUpperCase() + '")';
                }
                break;

        }
    }
    
    if ( str_type_model == "" ) {
        alert("É^ÉCÉv-ÉÇÉfÉãÇ???ÇµÇ??Ç>=Ç¢ÅB")
    } else {

	   searchstring = escape(str_type_model);
        SearchView(searchstring,FLG)
    }

}

        var HELPWin=null;
        var HELPHref1="";
        function HelpWinOpen(HELPHref1,WinNo,W,H){
HELPWin=window.open(HELPHref1,WinNo,'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width='+W+',height='+H+'');
};

function Popup(u) {
n="POPUP";w=576;h=540;l=100;t=100;
((b=="IE")||(b=="NS")) ? parseInt(v) : v=0;
if ((b=="IE")||(v==2)) {
l=50;
t=50;
}
o = "width="+w+",height="+h+",resizable=1,status=0,left="+l+",top="+t+",menubar=0,scrollbars=1,toolbar=0,location=0,directories=0";
if ((b=="IE")||(v==2)) {
window.open(u,n,o)
} else {
w1=window.open(u,n,o);
w1.focus();
}
}
b=WhichBrowser();
v=WhichVersion(b);

function WhichBrowser(){
var b="BR";
var ua="UA";ua=navigator.userAgent;
if((ua.indexOf('Mozilla')!= -1)&&((ua.indexOf('Spoofer')==-1)&&(ua.indexOf('compatible')==-1))){b="NS"}
else if(ua.indexOf("MSIE")!=-1){b="IE"}
else if(ua.indexOf("NAV")!=-1){b="Navio"}
else if(ua.indexOf("Opera")!=-1){b="Opera"}
else if(ua.indexOf("Microsoft URL Control")!= -1){b="IE"}
return b
}

function WhichVersion(b){
var v=0;
v=navigator.appVersion.substring(0,1);
((b=="IE")||(b=="NS")) ? (parseInt(v)) : v= 0 ;
return v;
}
