var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4080114&docid=71713847&x=3219',
		'title': '',
		'imageId': '71713847',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4080114&docid=71713839&x=3219',
		'title': '',
		'imageId': '71713839',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4080114&docid=71713843&x=3219',
		'title': '',
		'imageId': '71713843',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4080114&docid=71713848&x=3219',
		'title': '',
		'imageId': '71713848',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4080114&docid=71713816&x=3219',
		'title': '',
		'imageId': '71713816',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4080114&docid=71713832&x=3219',
		'title': '',
		'imageId': '71713832',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4080114&docid=71713811&x=3219',
		'title': '',
		'imageId': '71713811',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4080114&docid=71713831&x=3219',
		'title': '',
		'imageId': '71713831',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4080114&docid=71713819&x=3219',
		'title': '',
		'imageId': '71713819',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4080114&docid=71713834&x=3219',
		'title': '',
		'imageId': '71713834',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4080114&docid=71713807&x=3219',
		'title': '',
		'imageId': '71713807',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4080114&docid=71713808&x=3219',
		'title': '',
		'imageId': '71713808',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4080114&docid=71713810&x=3219',
		'title': '',
		'imageId': '71713810',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4080114&docid=71713812&x=3219',
		'title': '',
		'imageId': '71713812',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4080114&docid=71713825&x=3219',
		'title': '',
		'imageId': '71713825',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4080114&docid=71713836&x=3219',
		'title': '',
		'imageId': '71713836',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4080114&docid=71713851&x=3219',
		'title': '',
		'imageId': '71713851',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4080114&docid=71713854&x=3219',
		'title': '',
		'imageId': '71713854',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4080114';

document.body.style.overflow = "hidden";
var closeElement = document.querySelector("#lightbox #close");
var closeLoadingElement = document.querySelector("#lightbox #closeLoading");

if (closeElement) {
	closeElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}

if (closeLoadingElement) {
	closeLoadingElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}
