var DCProductURLs = {
"html": "embedforhtml5.html"
};

function redirecthtml5embed(scormscoretype){
  var hs = window.location.hash;
  var p = hs.substr(1)
  if(Number(p)>0) hs = "#page="+p;
  var sr = window.location.search;
  //if(hs=="") hs = "#page=1";
  window.location.href = DCProductURLs["html"] + sr + hs + scormscoretype;
}

////////


//var DCProductURLs = {
//  "mobileweb": "embedforsmartphone.html"
//};
//var DCshowiPhone = RegExp("AppleWebKit").test(navigator.userAgent) && RegExp("Mobile").test(navigator.userAgent);
//var DCshowAndroid = RegExp("Android").test(navigator.userAgent);
//var DCshowSilk = RegExp("Silk").test(navigator.userAgent);
//if (DCshowiPhone || DCshowAndroid || DCshowSilk) {
//  var sr = window.location.search;
//  window.location.href = DCProductURLs["mobileweb"] + sr;
//}
