var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3949224&docid=68567463&x=4239',
		'title': '',
		'imageId': '68567463',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949224&docid=68567466&x=4239',
		'title': '',
		'imageId': '68567466',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949224&docid=68567467&x=4239',
		'title': '',
		'imageId': '68567467',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949224&docid=68567468&x=4239',
		'title': '',
		'imageId': '68567468',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949224&docid=68567469&x=4239',
		'title': '',
		'imageId': '68567469',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949224&docid=68567470&x=4239',
		'title': '',
		'imageId': '68567470',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949224&docid=68567471&x=4239',
		'title': '',
		'imageId': '68567471',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949224&docid=68567472&x=4239',
		'title': '',
		'imageId': '68567472',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949224&docid=68567465&x=4239',
		'title': '',
		'imageId': '68567465',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949224&docid=68567473&x=4239',
		'title': '',
		'imageId': '68567473',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3949224';

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