var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3956058&docid=68726897&x=358',
		'title': '',
		'imageId': '68726897',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956058&docid=68726898&x=358',
		'title': '',
		'imageId': '68726898',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956058&docid=68726899&x=358',
		'title': '',
		'imageId': '68726899',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956058&docid=68726900&x=358',
		'title': '',
		'imageId': '68726900',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956058&docid=68726901&x=358',
		'title': '',
		'imageId': '68726901',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956058&docid=68726902&x=358',
		'title': '',
		'imageId': '68726902',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956058&docid=68726903&x=358',
		'title': '',
		'imageId': '68726903',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956058&docid=68726904&x=358',
		'title': '',
		'imageId': '68726904',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956058&docid=68726905&x=358',
		'title': '',
		'imageId': '68726905',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956058&docid=68726906&x=358',
		'title': '',
		'imageId': '68726906',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3956058';

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