var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3958658&docid=68795588&x=037',
		'title': '',
		'imageId': '68795588',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3958658&docid=68795594&x=037',
		'title': '',
		'imageId': '68795594',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3958658&docid=68795603&x=037',
		'title': '',
		'imageId': '68795603',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3958658&docid=68795596&x=037',
		'title': '',
		'imageId': '68795596',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3958658&docid=68795604&x=037',
		'title': '',
		'imageId': '68795604',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3958658&docid=68795597&x=037',
		'title': '',
		'imageId': '68795597',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3958658&docid=68795595&x=037',
		'title': '',
		'imageId': '68795595',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3958658&docid=68795602&x=037',
		'title': '',
		'imageId': '68795602',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3958658&docid=68795598&x=037',
		'title': '',
		'imageId': '68795598',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3958658&docid=68795599&x=037',
		'title': '',
		'imageId': '68795599',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3958658&docid=68795601&x=037',
		'title': '',
		'imageId': '68795601',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3958658&docid=68795600&x=037',
		'title': '',
		'imageId': '68795600',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3958658';

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