// JavaScript Document
$(document).ready(function() {
//set backgroud image properites for Mens Category

$("body.NLAMen").randombg({
 directory: "../DSN/wwwnextlevelapparelcom/Content/Images/backgrounds/mensbackgrounds/", //directory to image folder
 howmany: 3 //how many images are in this folder

 });
 $("body.NLAMen").css({"background-repeat" : "no-repeat"});
  $("body.NLAMen").css({"background-position" : "top right"});
  $("body.NLAMen").css({"background-attachment" : "fixed"});

//set backgroud image properites for Kids Category
$("body.NLAKids").randombg({
 directory: "../DSN/wwwnextlevelapparelcom/Content/Images/backgrounds/kidsbackgrounds/", //directory to image folder
 howmany: 3 //how many images are in this folder

 });
 $("body.NLAKids").css({"background-repeat" : "no-repeat"});
  $("body.NLAKids").css({"background-position" : "top right"});
  $("body.NLAKids").css({"background-attachment" : "fixed"});


//set backgroud image properites for Womens Category
$("body.NLAWomen").randombg({
 directory: "../DSN/wwwnextlevelapparelcom/Content/Images/backgrounds/womensbackgrounds/", //directory to image folder
 howmany: 3 //how many images are in this folder

 });
 $("body.NLAWomen").css({"background-repeat" : "no-repeat"});
  $("body.NLAWomen").css({"background-position" : "top right"});
  $("body.NLAWomen").css({"background-attachment" : "fixed"});

//set backgroud image properites for Default
$("body.NLA").randombg({
 directory: "../DSN/wwwnextlevelapparelcom/Content/Images/backgrounds/defaultbackgrounds/", //directory to image folder
 howmany: 5 //how many images are in this folder

 });
 $("body.NLA").css({"background-repeat" : "no-repeat"});
  $("body.NLA").css({"background-position" : "top right"});
  $("body.NLA").css({"background-attachment" : "fixed"});


//set transparency
 $(".mensBG").css({"opacity" : 0.90}); 
 $(".greyBottomBar").css({"opacity" : 0.80});

//align cart statement to the left
$("#JSONCart td:last-child").css({"text-align": "left"});

});


