var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3894929&docid=67267973&x=1246',
		'title': '',
		'imageId': '67267973',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3894929&docid=67267974&x=1246',
		'title': '',
		'imageId': '67267974',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3894929&docid=67267967&x=1246',
		'title': '',
		'imageId': '67267967',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3894929&docid=67267971&x=1246',
		'title': '',
		'imageId': '67267971',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3894929&docid=67267968&x=1246',
		'title': '',
		'imageId': '67267968',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3894929&docid=67267969&x=1246',
		'title': '',
		'imageId': '67267969',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3894929&docid=67267975&x=1246',
		'title': '',
		'imageId': '67267975',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3894929&docid=67267972&x=1246',
		'title': '',
		'imageId': '67267972',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3894929&docid=67267970&x=1246',
		'title': '',
		'imageId': '67267970',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3894929&docid=67267976&x=1246',
		'title': '',
		'imageId': '67267976',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3894929&docid=67268265&x=1246',
		'title': '',
		'imageId': '67268265',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3894929&docid=67268264&x=1246',
		'title': '',
		'imageId': '67268264',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3894929';

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