test outdoor
test outdoor
// get the first parameter out of the query string // (excpecting parameter id as first get parameter...) var keyValue = location.search.substr(1).split("=");
var id = "NaN";
// is the first get parameter named "id" ? if (keyValue[0]=="id") {
// parse parameter value to integer id = parseInt(keyValue[1]).toString(); }
// default id if no "id" parameter was set if (id=="NaN") { id="45056264"; }
// the configuration of the FlexView API detail page only needs the id var conf = { id: id, actionOpenType: "in-page" };
// instantiate FlexView API detail page dp = oa.api.detailpage( conf );