var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3976359&docid=69179530&x=926',
		'title': '',
		'imageId': '69179530',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976359&docid=69179525&x=926',
		'title': '',
		'imageId': '69179525',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976359&docid=69179521&x=926',
		'title': '',
		'imageId': '69179521',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976359&docid=69179533&x=926',
		'title': '',
		'imageId': '69179533',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976359&docid=69179532&x=926',
		'title': '',
		'imageId': '69179532',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976359&docid=69179522&x=926',
		'title': '',
		'imageId': '69179522',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976359&docid=69179523&x=926',
		'title': '',
		'imageId': '69179523',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976359&docid=69179531&x=926',
		'title': '',
		'imageId': '69179531',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976359&docid=69179527&x=926',
		'title': '',
		'imageId': '69179527',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976359&docid=69179524&x=926',
		'title': '',
		'imageId': '69179524',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3976359';

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