var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3919934&docid=67899766&x=2538',
		'title': '',
		'imageId': '67899766',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919934&docid=67899768&x=2538',
		'title': '',
		'imageId': '67899768',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919934&docid=67899769&x=2538',
		'title': '',
		'imageId': '67899769',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919934&docid=67899770&x=2538',
		'title': '',
		'imageId': '67899770',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919934&docid=67899771&x=2538',
		'title': '',
		'imageId': '67899771',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919934&docid=67899772&x=2538',
		'title': '',
		'imageId': '67899772',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919934&docid=67899773&x=2538',
		'title': '',
		'imageId': '67899773',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919934&docid=67899774&x=2538',
		'title': '',
		'imageId': '67899774',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919934&docid=67899775&x=2538',
		'title': '',
		'imageId': '67899775',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919934&docid=67899776&x=2538',
		'title': '',
		'imageId': '67899776',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3919934';

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