$ua = $_SERVER["HTTP_USER_AGENT"];
if(ereg("DoCoMo",$ua)){
header("Location: https://www.yesgrp.com/i/yokohama/badcompany/index.htm");
exit;
}elseif(ereg("J-PHONE",$ua)){
header("Location: https://www.yesgrp.com/i/yokohama/badcompany/index.htm");
exit;
}elseif(ereg("UP\.Browser",$ua)){
header("Location: https://www.yesgrp.com/i/yokohama/badcompany/index.htm");
exit;
}elseif(ereg("PDXGW",$ua)){
header("Location: https://www.yesgrp.com/i/yokohama/badcompany/index.htm");
exit;
}else{
header("Location: https://www.yesgrp.com/yokohama/badcompany/index.html");
exit;
}?>