var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3902511&docid=67458703&x=1437',
		'title': '',
		'imageId': '67458703',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3902511&docid=67458704&x=1437',
		'title': '',
		'imageId': '67458704',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3902511&docid=67458705&x=1437',
		'title': '',
		'imageId': '67458705',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3902511&docid=67458707&x=1437',
		'title': '',
		'imageId': '67458707',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3902511&docid=67458708&x=1437',
		'title': '',
		'imageId': '67458708',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3902511&docid=67458709&x=1437',
		'title': '',
		'imageId': '67458709',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3902511&docid=67458710&x=1437',
		'title': '',
		'imageId': '67458710',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3902511&docid=67458711&x=1437',
		'title': '',
		'imageId': '67458711',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3902511&docid=67458712&x=1437',
		'title': '',
		'imageId': '67458712',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3902511&docid=67458713&x=1437',
		'title': '',
		'imageId': '67458713',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3902511&docid=67458714&x=1437',
		'title': '',
		'imageId': '67458714',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3902511&docid=67458715&x=1437',
		'title': '',
		'imageId': '67458715',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3902511&docid=67458716&x=1437',
		'title': '',
		'imageId': '67458716',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3902511&docid=67458717&x=1437',
		'title': '',
		'imageId': '67458717',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3902511&docid=67458718&x=1437',
		'title': '',
		'imageId': '67458718',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3902511&docid=67458719&x=1437',
		'title': '',
		'imageId': '67458719',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3902511&docid=67458706&x=1437',
		'title': '',
		'imageId': '67458706',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3902511&docid=67458720&x=1437',
		'title': '',
		'imageId': '67458720',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3902511';

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