var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3974141&docid=69126557&x=5130',
		'title': '',
		'imageId': '69126557',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974141&docid=69126548&x=5130',
		'title': '',
		'imageId': '69126548',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974141&docid=69126560&x=5130',
		'title': '',
		'imageId': '69126560',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974141&docid=69126556&x=5130',
		'title': '',
		'imageId': '69126556',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974141&docid=69126549&x=5130',
		'title': '',
		'imageId': '69126549',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974141&docid=69126552&x=5130',
		'title': '',
		'imageId': '69126552',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974141&docid=69126555&x=5130',
		'title': '',
		'imageId': '69126555',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974141&docid=69126553&x=5130',
		'title': '',
		'imageId': '69126553',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974141&docid=69126559&x=5130',
		'title': '',
		'imageId': '69126559',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974141&docid=69126551&x=5130',
		'title': '',
		'imageId': '69126551',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974141&docid=69126550&x=5130',
		'title': '',
		'imageId': '69126550',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974141&docid=69126554&x=5130',
		'title': '',
		'imageId': '69126554',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3974141';

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