var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4086238&docid=71844714&x=400',
		'title': '',
		'imageId': '71844714',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4086238&docid=71844502&x=400',
		'title': '',
		'imageId': '71844502',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4086238&docid=71844510&x=400',
		'title': '',
		'imageId': '71844510',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4086238&docid=71844507&x=400',
		'title': '',
		'imageId': '71844507',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4086238&docid=71844713&x=400',
		'title': '',
		'imageId': '71844713',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4086238&docid=71844515&x=400',
		'title': '',
		'imageId': '71844515',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4086238&docid=71844505&x=400',
		'title': '',
		'imageId': '71844505',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4086238&docid=71844503&x=400',
		'title': '',
		'imageId': '71844503',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4086238&docid=71844707&x=400',
		'title': '',
		'imageId': '71844707',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4086238&docid=71844500&x=400',
		'title': '',
		'imageId': '71844500',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4086238&docid=71844508&x=400',
		'title': '',
		'imageId': '71844508',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4086238&docid=71844499&x=400',
		'title': '',
		'imageId': '71844499',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4086238&docid=71844497&x=400',
		'title': '',
		'imageId': '71844497',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4086238&docid=71844498&x=400',
		'title': '',
		'imageId': '71844498',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4086238&docid=71844494&x=400',
		'title': '',
		'imageId': '71844494',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4086238&docid=71844513&x=400',
		'title': '',
		'imageId': '71844513',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4086238&docid=71844506&x=400',
		'title': '',
		'imageId': '71844506',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4086238&docid=71844514&x=400',
		'title': '',
		'imageId': '71844514',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4086238&docid=71844511&x=400',
		'title': '',
		'imageId': '71844511',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4086238&docid=71844512&x=400',
		'title': '',
		'imageId': '71844512',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4086238';

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";
	})
}
