var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3964583&docid=68913927&x=454',
		'title': '',
		'imageId': '68913927',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964583&docid=68913923&x=454',
		'title': '',
		'imageId': '68913923',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964583&docid=68913921&x=454',
		'title': '',
		'imageId': '68913921',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964583&docid=68913926&x=454',
		'title': '',
		'imageId': '68913926',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964583&docid=68913924&x=454',
		'title': '',
		'imageId': '68913924',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964583&docid=68913925&x=454',
		'title': '',
		'imageId': '68913925',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964583&docid=68913920&x=454',
		'title': '',
		'imageId': '68913920',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964583&docid=68913950&x=454',
		'title': '',
		'imageId': '68913950',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964583&docid=68913952&x=454',
		'title': '',
		'imageId': '68913952',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964583&docid=68913951&x=454',
		'title': '',
		'imageId': '68913951',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3964583';

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