// turn off all superstitial tags on the home page
var restrictionOne = new AdRestriction();
restrictionOne.addParameter("UniqueId", "HGTV-SECTION-5838-1");
restrictionOne.addParameter("adtype", "SUPERSTITIAL");
restrictionOne.isActive = false;
restrictionOne.isIframe = false;

// turn off text link in possition  superstitial tags on the home page
var restrictionTwo = new AdRestriction();
restrictionTwo.addParameter("UniqueId", "HGTV-SECTION-5838-1");
restrictionTwo.addParameter("adtype", "SPONSORSHIP");
restrictionTwo.addParameter("PagePos", "4");
restrictionTwo.isActive = false;
restrictionTwo.isIframe = false;

var restrictionThree = new AdRestriction();
restrictionThree.addParameter("UniqueId", "HGTV-SECTION-5838-1");
restrictionThree.addParameter("adtype", "SPONSORSHIP");
restrictionThree.addParameter("PagePos", "5");
restrictionThree.isActive = false;
restrictionThree.isIframe = false;

var restrictionFour = new AdRestriction();
restrictionFour.addParameter("UniqueId", "HGTV-SECTION-5838-1");
restrictionFour.addParameter("adtype", "BIGBOX");
restrictionFour.addParameter("PagePos", "5");
restrictionFour.isActive = true;
restrictionFour.isIframe = true;

var adRestrictionManager = new AdRestrictionManager();
adRestrictionManager.restriction.push(restrictionOne);
adRestrictionManager.restriction.push(restrictionTwo);
adRestrictionManager.restriction.push(restrictionThree);
adRestrictionManager.restriction.push(restrictionFour);


