var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3980163&docid=69268704&x=368',
		'title': '',
		'imageId': '69268704',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980163&docid=69268706&x=368',
		'title': '',
		'imageId': '69268706',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980163&docid=69268705&x=368',
		'title': '',
		'imageId': '69268705',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980163&docid=69268708&x=368',
		'title': '',
		'imageId': '69268708',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980163&docid=69268710&x=368',
		'title': '',
		'imageId': '69268710',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980163&docid=69268709&x=368',
		'title': '',
		'imageId': '69268709',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980163&docid=69268703&x=368',
		'title': '',
		'imageId': '69268703',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980163&docid=69268702&x=368',
		'title': '',
		'imageId': '69268702',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980163&docid=69268707&x=368',
		'title': '',
		'imageId': '69268707',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980163&docid=69268701&x=368',
		'title': '',
		'imageId': '69268701',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3980163';

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