var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3982791&docid=69324757&x=553',
		'title': '',
		'imageId': '69324757',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982791&docid=69324751&x=553',
		'title': '',
		'imageId': '69324751',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982791&docid=69324752&x=553',
		'title': '',
		'imageId': '69324752',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982791&docid=69324749&x=553',
		'title': '',
		'imageId': '69324749',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982791&docid=69324753&x=553',
		'title': '',
		'imageId': '69324753',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982791&docid=69324756&x=553',
		'title': '',
		'imageId': '69324756',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982791&docid=69324754&x=553',
		'title': '',
		'imageId': '69324754',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982791&docid=69324759&x=553',
		'title': '',
		'imageId': '69324759',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982791&docid=69324755&x=553',
		'title': '',
		'imageId': '69324755',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982791&docid=69324758&x=553',
		'title': '',
		'imageId': '69324758',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982791&docid=69324750&x=553',
		'title': '',
		'imageId': '69324750',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3982791';

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