var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3966537&docid=68962634&x=1945',
		'title': '',
		'imageId': '68962634',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966537&docid=68962644&x=1945',
		'title': '',
		'imageId': '68962644',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966537&docid=68962639&x=1945',
		'title': '',
		'imageId': '68962639',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966537&docid=68962637&x=1945',
		'title': '',
		'imageId': '68962637',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966537&docid=68962638&x=1945',
		'title': '',
		'imageId': '68962638',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966537&docid=68962636&x=1945',
		'title': '',
		'imageId': '68962636',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966537&docid=68962642&x=1945',
		'title': '',
		'imageId': '68962642',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966537&docid=68962635&x=1945',
		'title': '',
		'imageId': '68962635',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966537&docid=68962640&x=1945',
		'title': '',
		'imageId': '68962640',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966537&docid=68962643&x=1945',
		'title': '',
		'imageId': '68962643',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3966537';

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