<?php
$ua = $_SERVER['HTTP_USER_AGENT'];

if (preg_match("/(MSIE\s|Trident.*rv:)([0-9\.]+)/", $ua)) {
header("Location: index_ie.html#top_rohm");
exit();
}

else if (preg_match("/Trident/", $ua)) {
header("Location: index_ie.html#top_rohm");
exit();
}

else if (preg_match("/ipad/", $ua)) {
header("Location: index_ie.html#top_rohm");
exit();
}

else
{
// その他端末用のページにジャンプ
header("Location: index.html#top_rohm");
exit();
}

?>


