var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3911528&docid=67678536&x=412',
		'title': '',
		'imageId': '67678536',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3911528&docid=67678538&x=412',
		'title': '',
		'imageId': '67678538',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3911528&docid=67678541&x=412',
		'title': '',
		'imageId': '67678541',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3911528&docid=67678533&x=412',
		'title': '',
		'imageId': '67678533',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3911528&docid=67678534&x=412',
		'title': '',
		'imageId': '67678534',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3911528&docid=67678537&x=412',
		'title': '',
		'imageId': '67678537',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3911528&docid=67678532&x=412',
		'title': '',
		'imageId': '67678532',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3911528&docid=67678540&x=412',
		'title': '',
		'imageId': '67678540',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3911528&docid=67678535&x=412',
		'title': '',
		'imageId': '67678535',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3911528&docid=67678539&x=412',
		'title': '',
		'imageId': '67678539',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3911528&docid=67678542&x=412',
		'title': '',
		'imageId': '67678542',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3911528';

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