var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3562137&docid=59317213&x=2848',
		'title': '',
		'imageId': '59317213',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3562137&docid=59317211&x=2848',
		'title': '',
		'imageId': '59317211',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3562137&docid=59317209&x=2848',
		'title': '',
		'imageId': '59317209',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3562137&docid=59317218&x=2848',
		'title': '',
		'imageId': '59317218',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3562137&docid=59317219&x=2848',
		'title': '',
		'imageId': '59317219',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3562137&docid=59317203&x=2848',
		'title': '',
		'imageId': '59317203',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3562137&docid=59317199&x=2848',
		'title': '',
		'imageId': '59317199',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3562137&docid=59317205&x=2848',
		'title': '',
		'imageId': '59317205',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3562137&docid=59317202&x=2848',
		'title': '',
		'imageId': '59317202',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3562137&docid=59317204&x=2848',
		'title': '',
		'imageId': '59317204',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3562137&docid=59317207&x=2848',
		'title': '',
		'imageId': '59317207',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3562137&docid=59317206&x=2848',
		'title': '',
		'imageId': '59317206',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3562137&docid=67631280&x=2848',
		'title': '',
		'imageId': '67631280',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3562137&docid=67631283&x=2848',
		'title': '',
		'imageId': '67631283',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3562137&docid=67631286&x=2848',
		'title': '',
		'imageId': '67631286',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3562137&docid=67631284&x=2848',
		'title': '',
		'imageId': '67631284',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3562137&docid=67631285&x=2848',
		'title': '',
		'imageId': '67631285',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3562137&docid=67631281&x=2848',
		'title': '',
		'imageId': '67631281',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3562137&docid=67631287&x=2848',
		'title': '',
		'imageId': '67631287',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3562137&docid=67631278&x=2848',
		'title': '',
		'imageId': '67631278',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3562137';

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