/* This script and many more are available free online at
The JavaScript Source!! http://javascript.internet.com
Created by: Lee Underwood | http://javascript.internet.com/ */
var agree=0;  // 0,2,4,6,8 = 'no', 1,3,5,7,9 = 'yes'

// Rabojet Certs
function agree1() {
  if (!document.getElementById) return false;
  agree=1;
  }

function disagree1() {
  if (!document.getElementById) return false;
  agree=0;
  }

// Asian Warrants English
function agree2() {
  if (!document.getElementById) return false;
  agree=3;
  }

function disagree2() {
  if (!document.getElementById) return false;
  agree=2;
  }

// Asian Warrants Chinese
function agree3() {
  if (!document.getElementById) return false;
  agree=5;
  }

function disagree3() {
  if (!document.getElementById) return false;
  agree=4;
  }

// RaboPCs
function agree4() {
  if (!document.getElementById) return false;
  agree=7;
  }

function disagree4() {
  if (!document.getElementById) return false;
  agree=6;
  }

// RaboPCs CN
function agree5() {
  if (!document.getElementById) return false;
  agree=9;
  }

function disagree5() {
  if (!document.getElementById) return false;
  agree=8;
  }

// Rabo Fastracks
function agree6() {
  if (!document.getElementById) return false;
  agree=11;
  }

function disagree6() {
  if (!document.getElementById) return false;
  agree=10;
  }

function goSubmit() {
  switch (agree){
     case 0:
     window.location='/content/private_clients/asia/'
     break
     case 1: 
     createCookie('rabojetcerts','agreed', 365); history.go(-1)
     break
     case 2:
     window.location='/content/private_clients/asia/'
     break
     case 3: 
     createCookie('asianwarrantseng','agreed', 365); history.go(-1)
     break
     case 4:
     window.location='/content/private_clients/asia/'
     break
     case 5: 
     createCookie('asianwarrantscn','agreed', 365); history.go(-1)
     break
     case 6:
     window.location='/content/private_clients/asia/'
     break
     case 7: 
     createCookie('rabopcs','agreed', 365); history.go(-1)
     break
     case 8:
     window.location='/content/private_clients/asia/'
     break
     case 9: 
     createCookie('rabopcs_cn','agreed', 365); history.go(-1)
     break
     case 10:
     window.location='/content/private_clients/asia/'
     break
     case 11: 
     createCookie('rabofastracks','agreed', 365); history.go(-1)
     break

  }
}