var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3953295&docid=68656593&x=3037',
		'title': '',
		'imageId': '68656593',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953295&docid=68656594&x=3037',
		'title': '',
		'imageId': '68656594',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953295&docid=68656595&x=3037',
		'title': '',
		'imageId': '68656595',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953295&docid=68656596&x=3037',
		'title': '',
		'imageId': '68656596',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953295&docid=68656597&x=3037',
		'title': '',
		'imageId': '68656597',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953295&docid=68656598&x=3037',
		'title': '',
		'imageId': '68656598',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953295&docid=68656599&x=3037',
		'title': '',
		'imageId': '68656599',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953295&docid=68656600&x=3037',
		'title': '',
		'imageId': '68656600',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953295&docid=68656601&x=3037',
		'title': '',
		'imageId': '68656601',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953295&docid=68656602&x=3037',
		'title': '',
		'imageId': '68656602',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3953295';

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