var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3909752&docid=66364637&x=3226',
		'title': '',
		'imageId': '66364637',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909752&docid=66364632&x=3226',
		'title': '',
		'imageId': '66364632',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909752&docid=66364634&x=3226',
		'title': '',
		'imageId': '66364634',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909752&docid=66364636&x=3226',
		'title': '',
		'imageId': '66364636',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909752&docid=66364640&x=3226',
		'title': '',
		'imageId': '66364640',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909752&docid=66364635&x=3226',
		'title': '',
		'imageId': '66364635',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909752&docid=66364638&x=3226',
		'title': '',
		'imageId': '66364638',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909752&docid=66364633&x=3226',
		'title': '',
		'imageId': '66364633',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909752&docid=66364641&x=3226',
		'title': '',
		'imageId': '66364641',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909752&docid=66364639&x=3226',
		'title': '',
		'imageId': '66364639',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3909752';

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