var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3997536&docid=69650384&x=3419',
		'title': '',
		'imageId': '69650384',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997536&docid=69650390&x=3419',
		'title': '',
		'imageId': '69650390',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997536&docid=69650385&x=3419',
		'title': '',
		'imageId': '69650385',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997536&docid=69650391&x=3419',
		'title': '',
		'imageId': '69650391',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997536&docid=69650392&x=3419',
		'title': '',
		'imageId': '69650392',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997536&docid=69650386&x=3419',
		'title': '',
		'imageId': '69650386',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997536&docid=69650387&x=3419',
		'title': '',
		'imageId': '69650387',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997536&docid=69650388&x=3419',
		'title': '',
		'imageId': '69650388',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997536&docid=69650635&x=3419',
		'title': '',
		'imageId': '69650635',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997536&docid=69650634&x=3419',
		'title': '',
		'imageId': '69650634',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3997536';

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