var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3929235&docid=68113966&x=5515',
		'title': '',
		'imageId': '68113966',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929235&docid=68113965&x=5515',
		'title': '',
		'imageId': '68113965',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929235&docid=68113968&x=5515',
		'title': '',
		'imageId': '68113968',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929235&docid=68113964&x=5515',
		'title': '',
		'imageId': '68113964',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929235&docid=68113969&x=5515',
		'title': '',
		'imageId': '68113969',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929235&docid=68113962&x=5515',
		'title': '',
		'imageId': '68113962',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929235&docid=68113963&x=5515',
		'title': '',
		'imageId': '68113963',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929235&docid=68113970&x=5515',
		'title': '',
		'imageId': '68113970',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929235&docid=68113967&x=5515',
		'title': '',
		'imageId': '68113967',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929235&docid=68113971&x=5515',
		'title': '',
		'imageId': '68113971',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3929235';

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