var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3964032&docid=68906227&x=5746',
		'title': '',
		'imageId': '68906227',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964032&docid=68906235&x=5746',
		'title': '',
		'imageId': '68906235',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964032&docid=68906236&x=5746',
		'title': '',
		'imageId': '68906236',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964032&docid=68906237&x=5746',
		'title': '',
		'imageId': '68906237',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964032&docid=68906238&x=5746',
		'title': '',
		'imageId': '68906238',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964032&docid=68906239&x=5746',
		'title': '',
		'imageId': '68906239',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964032&docid=68906240&x=5746',
		'title': '',
		'imageId': '68906240',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964032&docid=68906241&x=5746',
		'title': '',
		'imageId': '68906241',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964032&docid=68906242&x=5746',
		'title': '',
		'imageId': '68906242',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964032&docid=68906243&x=5746',
		'title': '',
		'imageId': '68906243',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3964032';

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