/**
* Redirect Request to WebServer. The video files are placed under webserver to load video files faster
* Created On - 25-sep-2009
* Created By - Rajani
* document.location.protocol - returns Protocol Type(http / https)
* document.location.host - returns Server Name
* Video File Location - /videos/bios/
**/

var reqProtocol = document.location.protocol;
var reqServerName = document.location.host;

/* Server Host */
var webServerURL = document.location.protocol + "//" + document.location.host;

/* Server Video File Location  */
var reqVideoLoc = "/videos/aarp/";

/* Webserver URL */
var reqVideoURL = webServerURL + reqVideoLoc;

/* Redirect request to local app context if deployed in localhost */
if(reqServerName == "localhost") {
   reqVideoURL = webServerURL + "/AARP/ui" + reqVideoLoc;
}
 



