var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3983576&docid=69341875&x=2825',
		'title': '',
		'imageId': '69341875',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983576&docid=69341870&x=2825',
		'title': '',
		'imageId': '69341870',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983576&docid=69341882&x=2825',
		'title': '',
		'imageId': '69341882',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983576&docid=69341885&x=2825',
		'title': '',
		'imageId': '69341885',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983576&docid=69341881&x=2825',
		'title': '',
		'imageId': '69341881',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983576&docid=69341880&x=2825',
		'title': '',
		'imageId': '69341880',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983576&docid=69341877&x=2825',
		'title': '',
		'imageId': '69341877',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983576&docid=69341876&x=2825',
		'title': '',
		'imageId': '69341876',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983576&docid=69341879&x=2825',
		'title': '',
		'imageId': '69341879',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983576&docid=69341874&x=2825',
		'title': '',
		'imageId': '69341874',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983576&docid=69341883&x=2825',
		'title': '',
		'imageId': '69341883',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983576&docid=69342120&x=2825',
		'title': '',
		'imageId': '69342120',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983576&docid=69341891&x=2825',
		'title': '',
		'imageId': '69341891',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983576&docid=69341888&x=2825',
		'title': '',
		'imageId': '69341888',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983576&docid=69341889&x=2825',
		'title': '',
		'imageId': '69341889',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983576&docid=69341884&x=2825',
		'title': '',
		'imageId': '69341884',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983576&docid=69341890&x=2825',
		'title': '',
		'imageId': '69341890',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983576&docid=69341886&x=2825',
		'title': '',
		'imageId': '69341886',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983576&docid=69341878&x=2825',
		'title': '',
		'imageId': '69341878',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983576&docid=69341887&x=2825',
		'title': '',
		'imageId': '69341887',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983576&docid=69341873&x=2825',
		'title': '',
		'imageId': '69341873',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983576&docid=69341872&x=2825',
		'title': '',
		'imageId': '69341872',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983576&docid=69341871&x=2825',
		'title': '',
		'imageId': '69341871',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983576&docid=63113036&x=2825',
		'title': '',
		'imageId': '63113036',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3983576';

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