I know no javascript, so this is a basic question. I'm using this code to send visitors to certain pages if they are on android/ios phones:

<script type="text/javascript"> // <![CDATA[
if ( (navigator.userAgent.indexOf('Android') != -1) ) {
document.location = "mobileandroid.php";
} // ]]>

<script language=javascript>

if ((navigator.userAgent.match(/iPhone/i)) || (navigator.userAgent.match(/iPod/i))) {

How do i write the code for "else if" (all the users who are not using ios/android, including pc users) as in else if all visitors go to http://www.anothersite.com

thank you for helping me out with this basic question.